Go to the first, previous, next, last section, table of contents.
#include <sys/utsname.h> int uname(struct utsname *u);
Fills in the structure with information about the system.
struct utsname { char machine[9]; char nodename[32]; char release[9]; char sysname[9]; char version[9]; };
machine
"i386"
, "i486"
, "i586"
(Pentium), "i686"
(PentiumPro, Pentium II, Pentium III), or
"i786"
(Pentium 4).
nodename
"pc"
.
release
"1"
here.
sysname
version
"23"
here.
Zero on success, else nonzero.
not ANSI, POSIX
Go to the first, previous, next, last section, table of contents.