home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJDEV201.ZIP / include / sys / utsname.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-21  |  707 b   |  37 lines

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #ifndef __dj_include_sys_utsname_h_
  3. #define __dj_include_sys_utsname_h_
  4.  
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8.  
  9. #ifndef __dj_ENFORCE_ANSI_FREESTANDING
  10.  
  11. #ifndef __STRICT_ANSI__
  12.  
  13. struct utsname {
  14.   char machine[9];
  15.   char nodename[32];
  16.   char release[9];
  17.   char sysname[9];
  18.   char version[9];
  19. };
  20.  
  21. int    uname(struct utsname *name);
  22.  
  23. #ifndef _POSIX_SOURCE
  24.  
  25. #endif /* !_POSIX_SOURCE */
  26. #endif /* !__STRICT_ANSI__ */
  27. #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
  28.  
  29. #ifndef __dj_ENFORCE_FUNCTION_CALLS
  30. #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
  31.  
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35.  
  36. #endif /* !__dj_include_sys_utsname_h_ */
  37.