clock_getres.2: Dynamic POSIX clock devices can return other errors

See Linux source as of v5.4:
  kernel/time/posix-clock.c

Signed-off-by: Eric Rannaud <e@nanocritical.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Eric Rannaud 2020-04-02 07:23:47 -07:00 committed by Michael Kerrisk
parent 0f1553b5fd
commit f873b37560
1 changed files with 9 additions and 0 deletions

View File

@ -260,6 +260,10 @@ specified in a call to
.BR clock_settime ()
is not a settable clock.
.TP
.B EOPNOTSUPP
The operation is not supported by the dynamic POSIX clock device
specified.
.TP
.BR EINVAL " (since Linux 4.3)"
.\" commit e1d7ba8735551ed79c7a0463a042353574b96da3
A call to
@ -276,6 +280,11 @@ clock.
.B EPERM
.BR clock_settime ()
does not have permission to set the clock indicated.
.TP
.B EACCES
.BR clock_settime ()
does not have write permission for the dynamic POSIX
clock device indicated.
.SH VERSIONS
These system calls first appeared in Linux 2.6.
.SH ATTRIBUTES