Go to the previous, next section.
int uname(struct utsname *buf);
buf: [out] where to store the information.
Retreives some information on the system. The structure utsname
has the following layout:
struct utsname {
char sysname[65];
char nodename[65];
char release[65];
char version[65];
char machine[65];
char domainname[65];
};
On success zero is returned. On error -1 is returned and errno is
set to EFAULT.
Go to the previous, next section.