Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  UNAME(2)                                                 UNAME(2)



  NAME
       uname - get name of current system

  SYNOPSIS
       #include <sys/utsname.h>

       int uname (name)
       struct utsname *name;

  DESCRIPTION
       uname stores information identifying the current system in
       the structure pointed to by name.

       uname uses the structure defined in <sys/utsname.h> whose
       members are:

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

       uname returns a null-terminated character string naming the
       current system in the character array sysname.  Similarly,
       nodename contains the name that the system is known by on a
       communications network.  Release and version further
       identify the operating system.  Machine contains a standard
       name that identifies the hardware that the system is running
       on.

       [EFAULT]  uname will fail if name points to an invalid
                 address.

  SEE ALSO
       uname(1) in the User's Reference Manual.

  DIAGNOSTICS
       Upon successful completion, a non-negative value is
       returned.  Otherwise, a value of -1 is returned and errno is
       set to indicate the error.


  Page 1                                                   May 1989
















Typewritten Software • bear@typewritten.org • Edmonds, WA 98026