uname

Gets system identification information.

Format

#include  <utsname.h>

int uname  (struct utsname *name);

Arguments

name
The current system identifier.

Description

This function stores null-terminated strings of information identifying the current system into the structure referenced by the name argument.

The utsname structure is defined in the <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
Indicates success. 
-1  Indicates an error; errno or vaxc$errno is set as appropriate. 


Previous Page | Next Page | Table of Contents | Index