| 
 |  | 
#include <sys/utsname.h>int uname (name) struct utsname *name;
The uname system call uses the utsname structure defined in <sys/utsname.h> whose members are:
   struct utsname {
           char	sysname[9];
           char	nodename[9];
           char	release[9];
           char	version[9];
           char	machine[9];
   };
The uname system call returns
a null-terminated character string naming the current
system in the character array sysname.
nodename contains the name that the system is known by
on a communications network; however the inclusion of this member
does not imply that it is sufficient information for interfacing
to communications networks.
release and version
further identify the operating system.
machine contains a standard name that identifies the hardware that
the system is running on.
X/Open Portability Guide, Issue 3, 1989
;
IEEE POSIX Std 1003.1-1990 System Application Program Interface (API) [C Language] (ISO/IEC 9945-1)
;
and
NIST FIPS 151-1
.