Add EINVAL doc from Jan Schaumann
This commit is contained in:
parent
77ed1cfd24
commit
ec56256fb3
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: gettimeofday.2,v 1.29 2015/12/09 08:30:03 wiz Exp $
|
||||
.\" $NetBSD: gettimeofday.2,v 1.30 2022/10/16 20:37:03 christos Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -29,7 +29,7 @@
|
|||
.\"
|
||||
.\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95
|
||||
.\"
|
||||
.Dd December 8, 2015
|
||||
.Dd October 16, 2022
|
||||
.Dt GETTIMEOFDAY 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -133,6 +133,12 @@ The following error codes may be set in
|
|||
.Bl -tag -width Er
|
||||
.It Bq Er EFAULT
|
||||
An argument address referenced invalid memory.
|
||||
.It Bq Er EINVAL
|
||||
.Fn settimeofday :
|
||||
.Ar tp.tv_sec
|
||||
is outside the range [0..2^36] or
|
||||
.Ar tp.tv_usec
|
||||
is outside the range [0..999,999].
|
||||
.It Bq Er EPERM
|
||||
A user other than the super user attempted to set the time, or the specified
|
||||
time was less than the current time, which was not permitted at the current
|
||||
|
|
Loading…
Reference in New Issue