git: 413045a52c5f - main - time.3: Update ERRORS section
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Mar 2022 19:01:52 UTC
The branch main has been updated by 0mp (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=413045a52c5f14ac22516b4f622d0132dc34e882
commit 413045a52c5f14ac22516b4f622d0132dc34e882
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-03-04 14:09:32 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-03-04 19:01:33 +0000
time.3: Update ERRORS section
time() is now implemented using clock_gettime(2) instead of
gettimeofday(2).
Reviewed by: debdrup
Fixes: 358ed16f7505 Use clock_gettime(CLOCK_SECOND)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34438
---
lib/libc/gen/time.3 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libc/gen/time.3 b/lib/libc/gen/time.3
index 1ff703ff572a..1563e672b3ba 100644
--- a/lib/libc/gen/time.3
+++ b/lib/libc/gen/time.3
@@ -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 ,