UTSNAME.H(3HEAD) Headers UTSNAME.H(3HEAD)
NAME
utsname.h, utsname - system name structure
SYNOPSIS
#include <
sys/utsname.h>
DESCRIPTION
The <
sys/utsname.h> header defines the structure
utsname, which
includes the following members:
char sysname[] /* name of this implementation of the
operating system */
char nodename[] /* name of this node within an
implementation-defined communications
network */
char release[] /* current release level of this
implementation */
char version[] /* current version level of this
release */
char machine[] /* name of the hardware type on which
the system is running */
The character arrays are of unspecified size, but the data stored in
them is terminated by a null byte.
ATTRIBUTES
See
attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
SEE ALSO
uname(2),
attributes(7),
standards(7) September 10, 2004 UTSNAME.H(3HEAD)