delorie.com/djgpp/doc/libc/libc_836.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
ANSI/ISO C | No |
POSIX | 1003.2-1992; 1003.1-2001 |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |