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

gethostid.3p (1961B)


  1. '\" et
  2. .TH GETHOSTID "3P" 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. gethostid
  12. \(em get an identifier for the current host
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <unistd.h>
  17. .P
  18. long gethostid(void);
  19. .fi
  20. .SH DESCRIPTION
  21. The
  22. \fIgethostid\fR()
  23. function shall retrieve a 32-bit identifier for the current host.
  24. .SH "RETURN VALUE"
  25. Upon successful completion,
  26. \fIgethostid\fR()
  27. shall return an identifier for the current host.
  28. .SH ERRORS
  29. No errors are defined.
  30. .LP
  31. .IR "The following sections are informative."
  32. .SH EXAMPLES
  33. None.
  34. .SH "APPLICATION USAGE"
  35. This volume of POSIX.1\(hy2017 does not define the domain in which the return value is unique.
  36. .SH RATIONALE
  37. None.
  38. .SH "FUTURE DIRECTIONS"
  39. None.
  40. .SH "SEE ALSO"
  41. .IR "\fIinitstate\fR\^(\|)"
  42. .P
  43. The Base Definitions volume of POSIX.1\(hy2017,
  44. .IR "\fB<unistd.h>\fP"
  45. .\"
  46. .SH COPYRIGHT
  47. Portions of this text are reprinted and reproduced in electronic form
  48. from IEEE Std 1003.1-2017, Standard for Information Technology
  49. -- Portable Operating System Interface (POSIX), The Open Group Base
  50. Specifications Issue 7, 2018 Edition,
  51. Copyright (C) 2018 by the Institute of
  52. Electrical and Electronics Engineers, Inc and The Open Group.
  53. In the event of any discrepancy between this version and the original IEEE and
  54. The Open Group Standard, the original IEEE and The Open Group Standard
  55. is the referee document. The original Standard can be obtained online at
  56. http://www.opengroup.org/unix/online.html .
  57. .PP
  58. Any typographical or formatting errors that appear
  59. in this page are most likely
  60. to have been introduced during the conversion of the source files to
  61. man page format. To report such errors, see
  62. https://www.kernel.org/doc/man-pages/reporting_bugs.html .