1utsname.h(3HEAD) Headers utsname.h(3HEAD)
2
3
4
6 utsname.h, utsname - system name structure
7
9 #include <sys/utsname.h>
10
11
13 The <sys/utsname.h> header defines the structure utsname, which
14 includes the following members:
15
16 char sysname[] /* name of this implementation of the
17 operating system */
18 char nodename[] /* name of this node within an
19 implementation-defined communications
20 network */
21 char release[] /* current release level of this
22 implementation */
23 char version[] /* current version level of this
24 release */
25 char machine[] /* name of the hardware type on which
26 the system is running */
27
28
29
30 The character arrays are of unspecified size, but the data stored in
31 them is terminated by a null byte.
32
34 See attributes(5) for descriptions of the following attributes:
35
36
37
38
39 ┌─────────────────────────────┬─────────────────────────────┐
40 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
41 ├─────────────────────────────┼─────────────────────────────┤
42 │Interface Stability │Standard │
43 └─────────────────────────────┴─────────────────────────────┘
44
46 uname(2), attributes(5), standards(5)
47
48
49
50SunOS 5.11 10 Sep 2004 utsname.h(3HEAD)