Arquivos
magenta/docs/syscalls/system_get_version.md
George Kulakowski 4e0f87924b [docs][errors] Rename all the errors in docs/ to MX_OK and MX_ERR_*
Change-Id: I62451456a83145760c6454a619d4c699ce8e9017
2017-06-09 22:05:39 +00:00

629 B

mx_system_get_version

NAME

system_get_version - get version string for system

SYNOPSIS

#include <magenta/syscalls.h>

mx_status_t mx_system_get_version(char version[], uint32_t version_len);

DESCRIPTION

system_get_version() fills in the given character array with a string identifying the version of the Magenta system currently running. The provided length must be large enough for the complete string including its null terminator.

RETURN VALUE

system_get_version() returns MX_OK on success.

ERRORS

MX_ERR_BUFFER_TOO_SMALL version_len is too short.

NOTES

SEE ALSO