Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
uname(2) OSS System Calls Reference Manual
RETURN VALUES
Upon successful completion, a nonnegative value is returned. If the function call is unsuccessful,
one of the following might happen:
• The value -1 is returned and errno is set to indicate the error.
• A Guardian trap is set.
ERRORS
If the following condition occurs, the uname() function sets errno to the corresponding value:
[EFAULT] The name parameter points outside of the process address space.
RELATED INFORMATION
Commands: uname(1).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specification:
• The error [EFAULT] can be returned.
9−6 Hewlett-Packard Company 527186-023