gettimeofday.2: ERRORS: add EINVAL for noncanonical 'tv' argument to settimeofday()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-05-13 16:21:00 +02:00
parent 9a82d4d95e
commit 018c296c7e
1 changed files with 7 additions and 0 deletions

View File

@ -159,6 +159,13 @@ pointed outside the accessible address space.
.I timezone
is invalid.
.TP
.B EINVAL
.RB ( settimeofday ()):
.I tv.tv_sec
is negative or
.I tv.tv_usec
is outside the range [0..999,999].
.TP
.B EPERM
The calling process has insufficient privilege to call
.BR settimeofday ();