uname(2)
_________________________________________________________________
uname System Call
Get name of current UNIX system.
_________________________________________________________________
SYNTAX
int uname (name)
struct utsname * name;
PARAMETERS
name Address of a structure to be filled with the
current system name.
DESCRIPTION
Uname stores information identifying the current UNIX system in
the structure pointed to by <name>. This information is set
during the system generation procedure and may be meaningful to
other software.
ACCESS CONTROL
None.
RETURN VALUE
0 The uname operation was successful.
-1 An error occurred. Errno is set to indicate the
error.
EXCEPTIONS
Errno may be set to one of the following error codes:
EFAULT Uname will fail if <name> points to an invalid
address.
SEE ALSO
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
uname(2)
The related manual section: uname(1) in the User's Reference for
the DG/UX System.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)