-.\"O On success,
-.\"O .BR sethostid ()
-.\"O returns 0; on error, \-1 is returned, and
-.\"O .I errno
-.\"O is set to indicate the error.
-À®¸ù¤¹¤ë¤È¡¢
-.BR sethostid ()
-¤Ï 0 ¤òÊÖ¤¹¡£
-¥¨¥é¡¼¤Î¾ì¹ç¡¢\-1 ¤òÊÖ¤·¡¢
-.I errno
-¤Ë¥¨¥é¡¼¤ò¼¨¤¹ÃͤòÀßÄꤹ¤ë¡£
-.\"O .SH ERRORS
-.SH ¥¨¥é¡¼
-.\"O .BR sethostid ()
-.\"O can fail with the following errors:
-.BR sethostid ()
-¤Ï°Ê²¼¤Î¥¨¥é¡¼¤Ç¼ºÇÔ¤¹¤ë²ÄǽÀ¤¬¤¢¤ë¡£
-.TP
-.B EACCES
-.\"O The caller did not have permission to write to the file used
-.\"O to store the host ID.
-¸Æ¤Ó½Ð¤·¸µ¤¬¥Û¥¹¥È ID ¤òÊݸ¤¹¤ë¤Î¤Ë»ÈÍѤµ¤ì¤ë¥Õ¥¡¥¤¥ë¤Ø¤Î
-½ñ¤¹þ¤ßµö²Ä¤ò»ý¤Ã¤Æ¤¤¤Ê¤«¤Ã¤¿¡£
-.TP
-.B EPERM
-.\"O The calling process's effective user or group ID is not the same
-.\"O as its corresponding real ID.
-¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Î¼Â¸ú UID/GID ¤¬Âбþ¤¹¤ë¼Â UID/GID ¤ÈƱ¤¸¤Ç¤Ï¤Ê¤¤¡£
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
-.\"O 4.2BSD; these functions were dropped in 4.4BSD.
-.\"O SVr4 includes
-.\"O .BR gethostid ()
-.\"O but not
-.\"O .BR sethostid ().
-.\"O POSIX.1-2001 specifies
-.\"O .BR gethostid ()
-.\"O but not
-.\"O .BR sethostid ().
-4.2BSD¡£4.4BSD ¤Ç¤Ï¤³¤ì¤é¤Î´Ø¿ô¤Ï¤Ê¤¯¤Ê¤Ã¤¿¡£
-SVr4 ¤Ë¤Ï
-.BR gethostid ()
-¤Ï´Þ¤Þ¤ì¤Æ¤¤¤ë¤¬¡¢
-.BR sethostid ()
-¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¡£
-POSIX.1-2001 ¤Ç¤Ï¡¢
-.BR gethostid ()
-¤Ïµ¬Äꤵ¤ì¤Æ¤¤¤ë¤¬¡¢
-.BR sethostid ()
-¤Ïµ¬Äꤵ¤ì¤Æ¤¤¤Ê¤¤¡£
-.\"O .SH NOTES
-.SH Ãí°Õ
-.\"O In the glibc implementation, the
-.\"O .I hostid
-.\"O is stored in the file
-.\"O .IR /etc/hostid .
-.\"O (In glibc versions before 2.2, the file
-.\"O .I /var/adm/hostid
-.\"O was used.)
-glibc ¤Î¼ÂÁõ¤Ç¤Ï¡¢
-.I hostid
-¤Ï¥Õ¥¡¥¤¥ë
-.I /etc/hostid
-¤ËÊݸ¤µ¤ì¤ë
-(¥Ð¡¼¥¸¥ç¥ó 2.2 ¤è¤êÁ°¤Î glibc ¤Ç¤Ï¡¢
-.I /var/adm/hostid
-¤¬»ÈÍѤµ¤ì¤Æ¤¤¤¿)¡£
+成功すると、 \fBsethostid\fP() は 0 を返す。 エラーの場合、\-1 を返し、 \fIerrno\fP にエラーを示す値を設定する。
+.SH エラー
+\fBsethostid\fP() は以下のエラーで失敗する可能性がある。
+.TP
+\fBEACCES\fP
+呼び出し元がホスト ID を保存するのに使用されるファイルへの 書き込み許可を持っていなかった。
+.TP
+\fBEPERM\fP
+呼び出し元プロセスの実効 UID/GID が対応する実 UID/GID と同じではない。
+.SH 準拠
+4.2BSD。4.4BSD ではこれらの関数はなくなった。 SVr4 には \fBgethostid\fP() は含まれているが、
+\fBsethostid\fP() は含まれていない。 POSIX.1\-2001 では、 \fBgethostid\fP() は規定されているが、
+\fBsethostid\fP() は規定されていない。
+.SH 注意