mirror of https://github.com/mkerrisk/man-pages
gethostname is in Section 2, not section 3.
This commit is contained in:
parent
ada00e8350
commit
0ce57e09c9
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue