utsname.h 279 B

1234567891011121314151617181920212223
  1. #ifndef __UTSNAME
  2. #define __UTSNAME
  3. #pragma lib "/$M/lib/ape/libap.a"
  4. struct utsname {
  5. char *sysname;
  6. char *nodename;
  7. char *release;
  8. char *version;
  9. char *machine;
  10. };
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. int uname(struct utsname *);
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif