logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

utsname.h (669B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _LINUX_UTSNAME_H
  3. #define _LINUX_UTSNAME_H
  4. #define __OLD_UTS_LEN 8
  5. struct oldold_utsname {
  6. char sysname[9];
  7. char nodename[9];
  8. char release[9];
  9. char version[9];
  10. char machine[9];
  11. };
  12. #define __NEW_UTS_LEN 64
  13. struct old_utsname {
  14. char sysname[65];
  15. char nodename[65];
  16. char release[65];
  17. char version[65];
  18. char machine[65];
  19. };
  20. struct new_utsname {
  21. char sysname[__NEW_UTS_LEN + 1];
  22. char nodename[__NEW_UTS_LEN + 1];
  23. char release[__NEW_UTS_LEN + 1];
  24. char version[__NEW_UTS_LEN + 1];
  25. char machine[__NEW_UTS_LEN + 1];
  26. char domainname[__NEW_UTS_LEN + 1];
  27. };
  28. #endif /* _LINUX_UTSNAME_H */