:man| Alphabetical   Categories   About us 
 
UNAME (3) | C library functions | Unix Manual Pages | :man

NAME

uname - get system identification

CONTENTS

Library
Synopsis
Description
Return Values
Errors
See Also
Standards
History

LIBRARY


.Lb libc

SYNOPSIS


.In sys/utsname.h int uname "struct utsname *name"

DESCRIPTION

The uname function stores NUL -terminated strings of information identifying the current system into the structure referenced by name.

The
.Vt utsname structure is defined in the
.In sys/utsname.h header file, and contains the following members:

sysname Name of the operating system implementation.
nodename Network name of this machine.
release Release level of the operating system.
version Version level of the operating system.
machine Machine hardware platform.

RETURN VALUES


.Rv -std uname

ERRORS

The uname function may fail and set errno for any of the errors specified for the library functions sysctl(3).

SEE ALSO

uname(1), sysctl(3)

STANDARDS

HISTORY

 
Created by Blin Media, 2008-2013