3 uname \- get system info
7 #include <sys/utsname.h>
9 int uname(struct utsname *name)
14 fills a struct utsname with system information. This structure is described
15 in <sys/utsname.h> as follows:
20 char sysname[15+1]; /* System name */
21 char nodename[255+1]; /* Node/Network name */
22 char release[11+1]; /* O.S. release */
23 char version[7+1]; /* O.S. version */
24 char machine[11+1]; /* Machine hardware */
25 char arch[11+1]; /* Architecture */
29 The strings are always null terminated, and may be of a different length then
30 shown here. The first five are required by \s-2POSIX\s+2, the last is
35 Kees J. Bot (kjb@cs.vu.nl)