home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emxdev8f.zip / UTSNAME.H < prev    next >
C/C++ Source or Header  |  1992-11-18  |  443b  |  28 lines

  1. /* sys/utsname.h (emx+gcc) */
  2.  
  3. #if !defined (_SYS_UTSNAME_H)
  4. #define _SYS_UTSNAME_H
  5.  
  6. #if defined (__cplusplus)
  7. extern "C" {
  8. #endif
  9.  
  10. #define _UN_LEN         16
  11.  
  12. struct utsname
  13. {
  14.   char sysname[_UN_LEN];
  15.   char nodename[_UN_LEN];
  16.   char release[_UN_LEN];
  17.   char version[_UN_LEN];
  18.   char machine[_UN_LEN];
  19. };
  20.  
  21. int uname (struct utsname *name);
  22.  
  23. #if defined (__cplusplus)
  24. }
  25. #endif
  26.  
  27. #endif /* !defined (SYS_UTSNAME_H) */
  28.