.\" (Move to section 3 in LDP v3.16 since the interfaces are purely glibc)
.\" Updated 2009-01-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.16
.\"
-.TH GETHOSTID 3 2009-01-13 "Linux" "Linux Programmer's Manual"
+.TH GETHOSTID 3 2010-09-20 "Linux" "Linux Programmer's Manual"
.\"O .SH NAME
.SH ̾Á°
.\"O gethostid, sethostid \- get or set the unique identifier of the current host
.in
.sp
.ad l
+.br
+.BR gethostid ():
+.RS 4
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.RE
.BR sethostid ():
+.RS 4
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
+.RE
.ad b
.\"O .SH DESCRIPTION
.SH ÀâÌÀ
.\"O and
.\"O .BR sethostid ()
.\"O respectively get or set a unique 32-bit identifier for the current machine.
-.\"O The 32-bit identifier is intended to be unique among all Unix systems in
+.\"O The 32-bit identifier is intended to be unique among all UNIX systems in
.\"O existence.
.\"O This normally resembles the Internet address for the local
.\"O machine, as returned by
.BR sethostid ()
¤Ï¡¢¤½¤ì¤¾¤ì¡¢¸½ºß»ÈÍѤ·¤Æ¤¤¤ë¥Û¥¹¥È¤Ë¸ÇͤΠ32 ¥Ó¥Ã¥È¤Î¼±Ê̻ҤÎ
¼èÆÀ/ÀßÄê¤ò¹Ô¤¦¡£
-¤³¤Î 32 ¥Ó¥Ã¥È¤Î¼±Ê̻Ҥϡ¢¸½ºß¸ºß¤·¤Æ¤¤¤ëÁ´¤Æ¤Î Unix ¥·¥¹¥Æ¥à
+¤³¤Î 32 ¥Ó¥Ã¥È¤Î¼±Ê̻Ҥϡ¢¸½ºß¸ºß¤·¤Æ¤¤¤ëÁ´¤Æ¤Î UNIX ¥·¥¹¥Æ¥à
¤ÎÃæ¤ÇÍ£°ì¤Ë¤Ê¤ë¤è¤¦¤Ë·è¤á¤é¤ì¤ë¡£Ä̾ï¤Ï
.BR gethostbyname (3)
¤Ë¤è¤êÊÖ¤µ¤ì¤ë¥í¡¼¥«¥ë¥Þ¥·¥ó¤Î Internet ¥¢¥É¥ì¥¹¤¬Âå¤ï¤ê¤Ë»ÈÍѤµ¤ì¡¢