Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ uname(2) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

uname(1)



     uname(2)                   DG/UX 4.30                    uname(2)



     NAME
          uname - Get name of current UNIX system.

     SYNOPSIS
          #include <sys/utsname.h>

          int   uname  (name)
          struct utsname * name;

     PARAMETERS
          name           Address of a structure to be filled with the
                         current system name.

     DESCRIPTION
          Uname stores information identifying the current UNIX system
          in the structure pointed to by <name>.  This information is
          set during the system generation procedure and may be
          meaningful to other software.  The utsname structure is
          defined in the include file <sys/utsname.h>.  See
          <sys/utsname.h> for a description of the fields.

     ACCESS CONTROL
          None.

     RETURN VALUE
          0              The uname operation was successful.


          -1             An error occurred.  Errno is set to indicate
                         the error.

     EXCEPTIONS
          Errno may be set to one of the following error codes:


          EFAULT         Uname will fail if <name> points to an
                         invalid address.

     SEE ALSO
          The related manual section:  uname(1) in the DG/UX System
          User's Manual.














     Licensed material--property of copyright holder(s)         Page 1



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