Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sysid(3) — CLIX 3.1r7.6.22

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  sysid(3)                            CLIX                            sysid(3)



  NAME

    sysid - Returns the system hardware identification number

  LIBRARY

    Intergraph XIO Library (libix.a)

  SYNOPSIS

    int sysid(
      unsigned char id[6] );

  PARAMETERS

    id   Specifies an array of 6 hexadecimal values

  DESCRIPTION

    The sysid() function fills the array id with a system's hardware
    identification number of the form:

    08-00-36-xx-yy-zz

    where xx, yy, and zz are unique for each system.  The sysid() function
    also fills the array id, as follows:

    Byte   Value
    ____________
     0      08
     1      00
     2      36
     3      xx
     4      yy
     5      zz

  RETURN VALUES

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

  ERRORS

    The sysid() function fails if the following is true:

    [EFAULT]   Parameter id points to a nonwritable location in the address
               space.







  2/94 - Intergraph Corporation                                              1




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