gethostname is in Section 2, not section 3.

This commit is contained in:
Michael Kerrisk 2008-04-18 15:45:03 +00:00
parent ada00e8350
commit 0ce57e09c9
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ Most queries for names within this domain can use short names
relative to the local domain.
If no \fBdomain\fP entry is present, the domain is determined
from the local host name returned by
.BR gethostname (3);
.BR gethostname (2);
the domain part is taken to be everything after the first '.'.
Finally, if the host name does not contain a domain part, the root
domain is assumed.