The uname() system call returns a range of identifying information about the host system on which an application is running, in the structure pointed to by utsbuf.
#include <sys/utsname.h>
int uname(struct utsname *utsbuf);
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.