mirror of https://github.com/mkerrisk/man-pages
gethostid.3: Added ERRORS section describing errors for sethostid()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0482681627
commit
4c98d1203b
|
@ -75,6 +75,17 @@ On success,
|
|||
returns 0; on error, \-1 is returned, and
|
||||
.I errno
|
||||
is set to indicate the error.
|
||||
.SH ERRORS
|
||||
.BR sethostid ()
|
||||
can fail with the following errors:
|
||||
.TP
|
||||
.B EACCES
|
||||
The caller did not have permission to write to the file used
|
||||
to store the host ID.
|
||||
.TP
|
||||
.B EPERM
|
||||
The calling process's effective user or group ID is not the same
|
||||
as its corresponding real ID.
|
||||
.SH FILES
|
||||
.I /etc/hostid
|
||||
.SH "CONFORMING TO"
|
||||
|
|
Loading…
Reference in New Issue