1<sys/utsname.h>(0P)        POSIX Programmer's Manual       <sys/utsname.h>(0P)
2
3
4

NAME

6       sys/utsname.h - system name structure
7

SYNOPSIS

9       #include <sys/utsname.h>
10

DESCRIPTION

12       The  <sys/utsname.h>  header  shall  define the structure utsname which
13       shall include at least the following members:
14
15
16              char  sysname[]  Name of this implementation of the operating system.
17              char  nodename[] Name of this node within an implementation-defined
18                               communications network.
19              char  release[]  Current release level of this implementation.
20              char  version[]  Current version level of this release.
21              char  machine[]  Name of the hardware type on which the system is running.
22
23       The character arrays are of unspecified size, but the  data  stored  in
24       them shall be terminated by a null byte.
25
26       The  following  shall be declared as a function and may also be defined
27       as a macro:
28
29
30              int uname(struct utsname *);
31
32       The following sections are informative.
33

APPLICATION USAGE

35       None.
36

RATIONALE

38       None.
39

FUTURE DIRECTIONS

41       None.
42

SEE ALSO

44       The System Interfaces volume of IEEE Std 1003.1-2001, uname()
45
47       Portions of this text are reprinted and reproduced in  electronic  form
48       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
49       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
50       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
51       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
52       event of any discrepancy between this version and the original IEEE and
53       The Open Group Standard, the original IEEE and The Open Group  Standard
54       is  the  referee document. The original Standard can be obtained online
55       at http://www.opengroup.org/unix/online.html .
56
57
58
59IEEE/The Open Group                  2003                  <sys/utsname.h>(0P)
Impressum