uname man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

uname(2)							      uname(2)

NAME
       uname - Get the name of the current system

SYNOPSIS
       #include <sys/utsname.h>

       int uname(
	       struct utsname *name );

STANDARDS
       Interfaces  documented on this reference page conform to industry stan‐
       dards as follows:

       uname(): XSH4.0, XSH4.2, XSH5.0

       Refer to the standards(5) reference page	 for  more  information	 about
       industry standards and associated tags.

PARAMETERS
       Points to a utsname structure.

DESCRIPTION
       The  uname() function stores information identifying the current system
       in the structure pointed to by the name parameter.

       The uname() function uses the utsname structure, which  is  defined  in
       the <sys/utsname.h> file and contains the following members:

       char sysname[_SYS_NMLN];			     char nodename[_SYS_NMLN];
       char release[_SYS_NMLN];			      char version[_SYS_NMLN];
       char machine[_SYS_NMLN];

       The  uname() function returns a null-terminated character string naming
       the current system in the sysname character array. The  nodename	 array
       contains	 the name that the system is known by on a communications net‐
       work. The release and version arrays further identify the  system.  The
       machine array identifies the CPU hardware being used.

RETURN VALUES
       Upon successful completion, a nonnegative value is returned. Otherwise,
       -1 is returned and errno is set to indicate the error.

ERRORS
       If the uname() function fails, errno may be set to the following value:
       [Tru64  UNIX]  The name parameter points outside of the process address
       space.

SEE ALSO
       Commands: uname(1)

       Standards: standards(5)

								      uname(2)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net