uname man page on Ultrix

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

uname(2)							      uname(2)

Name
       uname - get name of current system

Syntax
       #include <limits.h>
       #include <sys/utsname.h>

       int uname (name)
       struct utsname *name;

Description
       The  system  call  stores information identifying the current system in
       the structure pointed to by name.

       The system call uses the structure defined in whose members are:

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

       The constant SYS_NMLN is defined in

       The system call returns a null-terminated character string  naming  the
       current	ULTRIX	system	in  the	 character array, sysname.  Similarly,
       nodename contains the name that the system is known by on a  communica‐
       tions  network.	The release and version further identify the operating
       system.	The machine contains a standard name that identifies the hard‐
       ware that the ULTRIX system is running on.

Return Values
       Upon  successful	 completion,  a nonnegative value is returned.	Other‐
       wise, -1 is returned, and errno is set to indicate the error.

Diagnostics
       [EFAULT]	      The system call fails  if	 name  points  to  an  invalid
		      address.

								      uname(2)
[top]

List of man pages available for Ultrix

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