Table of Contents
The
function stores nul-terminated strings of information identifying the current
system into the structure referenced by The structure is defined in
the header file, and contains the following members: Name of the operating
system implementation. Network name of this machine. Release level of the
operating system. Version level of the operating system. Machine hardware
platform.
If is successful, 0 is returned, otherwise, -1 is
returned and is set appropriately.
The function may fail and set
for any of the errors specified for the library functions
The
function conforms to
The function first appeared in 4.4BSD.
Table of Contents