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

sys_utsname.h.0p (2387B)


  1. '\" et
  2. .TH sys_utsname.h "0P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. sys/utsname.h
  12. \(em system name structure
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <sys/utsname.h>
  17. .fi
  18. .SH DESCRIPTION
  19. The
  20. .IR <sys/utsname.h>
  21. header shall define the structure
  22. .BR utsname
  23. which shall include at least the following members:
  24. .sp
  25. .RS 4
  26. .nf
  27. char sysname[] \fRName of this implementation of the operating system.\fR
  28. char nodename[] \fRName of this node within the communications\fR
  29. \fRnetwork to which this node is attached, if any.\fR
  30. char release[] \fRCurrent release level of this implementation.\fR
  31. char version[] \fRCurrent version level of this release.\fR
  32. char machine[] \fRName of the hardware type on which the system is running.\fR
  33. .fi
  34. .P
  35. .RE
  36. .P
  37. The character arrays are of unspecified size, but the data stored in
  38. them shall be terminated by a null byte.
  39. .P
  40. The following shall be declared as a function and may also be defined
  41. as a macro:
  42. .sp
  43. .RS 4
  44. .nf
  45. int uname(struct utsname *);
  46. .fi
  47. .P
  48. .RE
  49. .LP
  50. .IR "The following sections are informative."
  51. .SH "APPLICATION USAGE"
  52. None.
  53. .SH RATIONALE
  54. None.
  55. .SH "FUTURE DIRECTIONS"
  56. None.
  57. .SH "SEE ALSO"
  58. The System Interfaces volume of POSIX.1\(hy2017,
  59. .IR "\fIuname\fR\^(\|)"
  60. .\"
  61. .SH COPYRIGHT
  62. Portions of this text are reprinted and reproduced in electronic form
  63. from IEEE Std 1003.1-2017, Standard for Information Technology
  64. -- Portable Operating System Interface (POSIX), The Open Group Base
  65. Specifications Issue 7, 2018 Edition,
  66. Copyright (C) 2018 by the Institute of
  67. Electrical and Electronics Engineers, Inc and The Open Group.
  68. In the event of any discrepancy between this version and the original IEEE and
  69. The Open Group Standard, the original IEEE and The Open Group Standard
  70. is the referee document. The original Standard can be obtained online at
  71. http://www.opengroup.org/unix/online.html .
  72. .PP
  73. Any typographical or formatting errors that appear
  74. in this page are most likely
  75. to have been introduced during the conversion of the source files to
  76. man page format. To report such errors, see
  77. https://www.kernel.org/doc/man-pages/reporting_bugs.html .