time.3: Update ERRORS section
time() is now implemented using clock_gettime(2) instead of
gettimeofday(2).
Reviewed by: debdrup
Fixes: 358ed16f75
Use clock_gettime(CLOCK_SECOND)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34438
This commit is contained in:
parent
d381c80751
commit
413045a52c
@ -32,7 +32,7 @@
|
||||
.\" @(#)time.3 8.1 (Berkeley) 6/4/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd July 18, 2003
|
||||
.Dd March 4, 2022
|
||||
.Dt TIME 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -64,7 +64,7 @@ is non-null.
|
||||
The
|
||||
.Fn time
|
||||
function may fail for any of the reasons described in
|
||||
.Xr gettimeofday 2 .
|
||||
.Xr clock_gettime 2 .
|
||||
.Sh SEE ALSO
|
||||
.Xr clock_gettime 2 ,
|
||||
.Xr gettimeofday 2 ,
|
||||
|
Loading…
Reference in New Issue
Block a user