home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / include / sys / utsname.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-06-26  |  1.0 KB  |  41 lines

  1. /*    Copyright (c) 1984, 1986, 1987, 1988 AT&T    */
  2. /*      All Rights Reserved      */
  3.  
  4. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  5. /*    The copyright notice above does not evidence any       */
  6. /*    actual or intended publication of such source code.    */
  7.  
  8. /*    Copyright (c) 1987, 1988 Microsoft Corporation    */
  9. /*      All Rights Reserved    */
  10.  
  11. /*    This Module contains Proprietary Information of Microsoft  */
  12. /*    Corporation and should be treated as Confidential.       */
  13.  
  14. #ident    "@(#)head.sys:utsname.h    1.3.1.2"
  15.  
  16. struct utsname {
  17.     char    sysname[9];
  18.     char    nodename[9];
  19.     char    release[9];
  20.     char    version[9];
  21.     char    machine[9];
  22. };
  23. extern struct utsname utsname;
  24.  
  25.  
  26. #define SYS_NMLN 9
  27.  
  28. struct xutsname {
  29.     char    sysname[SYS_NMLN];
  30.     char    nodename[SYS_NMLN];
  31.     char    release[SYS_NMLN];
  32.     char    version[SYS_NMLN];
  33.     char    machine[SYS_NMLN];
  34.     char    reserved[15];
  35.     unsigned short sysorigin;    /* original supplier of the system */
  36.     unsigned short sysoem;        /* OEM for this system */
  37.     long    sysserial;        /* serial number of this system */
  38. };
  39. extern struct xutsname xutsname;
  40.  
  41.