]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/gethostid.2
Added/updated glibc feature test macro requirements
[thirdparty/man-pages.git] / man2 / gethostid.2
index 0e06bf1f050bf6b4d7161a75dc0c8950e44fca30..dea1b1be3aa80e4f28587954c36567f5d1cfdd7f 100644 (file)
@@ -26,7 +26,7 @@
 .\" Portions Copyright 1993 Mitchum DSouza <m.dsouza@mrc-apu.cam.ac.uk>
 .\"
 .\" Modified Tue Oct 22 00:22:35 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
-.TH GETHOSTID 2 2007-06-15 "Linux" "Linux Programmer's Manual"
+.TH GETHOSTID 2 2007-07-26 "Linux" "Linux Programmer's Manual"
 .SH NAME
 gethostid, sethostid \- get or set the unique identifier of the current host
 .SH SYNOPSIS
@@ -35,6 +35,16 @@ gethostid, sethostid \- get or set the unique identifier of the current host
 .B long gethostid(void);
 .br
 .BI "int sethostid(long " hostid );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR sethostid ():
+_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
+.ad b
 .SH DESCRIPTION
 Get or set a unique 32-bit identifier for the current machine.
 The 32-bit identifier is intended to be unique among all UNIX systems in