diff options
Diffstat (limited to 'man3/gethostid.3')
-rw-r--r-- | man3/gethostid.3 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man3/gethostid.3 b/man3/gethostid.3 index daaaf548a..a81b38f8c 100644 --- a/man3/gethostid.3 +++ b/man3/gethostid.3 @@ -23,7 +23,7 @@ Standard C library .P .RS -4 Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .RE .P .BR gethostid (): @@ -55,7 +55,7 @@ The 32-bit identifier was intended to be unique among all UNIX systems in existence. This normally resembles the Internet address for the local machine, as returned by -.BR gethostbyname (3), +.MR gethostbyname 3 , and thus usually never needs to be set. .P The @@ -84,7 +84,7 @@ The calling process's effective user or group ID is not the same as its corresponding real ID. .SH ATTRIBUTES For an explanation of the terms used in this section, see -.BR attributes (7). +.MR attributes 7 . .TS allbox; lb lb lbx @@ -123,9 +123,9 @@ In the glibc implementation, if .BR gethostid () cannot open the file containing the host ID, then it obtains the hostname using -.BR gethostname (2), +.MR gethostname 2 , passes that hostname to -.BR gethostbyname_r (3) +.MR gethostbyname_r 3 in order to obtain the host's IPv4 address, and returns a value obtained by bit-twiddling the IPv4 address. (This value may not be unique.) @@ -145,5 +145,5 @@ but not .SH BUGS It is impossible to ensure that the identifier is globally unique. .SH SEE ALSO -.BR hostid (1), -.BR gethostbyname (3) +.MR hostid 1 , +.MR gethostbyname 3 |