mirror of https://github.com/mkerrisk/man-pages
gethostname.2: Mention UTS namespaces
Reported-by: Jakub Wilk <jwilk@jwilk.net> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
30e022e516
commit
79ea68831f
|
@ -67,8 +67,9 @@ _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
|||
.PD
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
These system calls are used to access or to change the hostname of the
|
||||
current processor.
|
||||
These system calls are used to access or to change the system hostname.
|
||||
More precisely, they operate on the hostname associated with the calling
|
||||
process's UTS namespace.
|
||||
.PP
|
||||
.BR sethostname ()
|
||||
sets the hostname to the value given in the character array
|
||||
|
@ -184,4 +185,5 @@ set to
|
|||
.BR hostname (1),
|
||||
.BR getdomainname (2),
|
||||
.BR setdomainname (2),
|
||||
.BR uname (2)
|
||||
.BR uname (2),
|
||||
.BR uts_namespaces (7)
|
||||
|
|
Loading…
Reference in New Issue