diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2024-04-28 18:06:05 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2024-05-04 13:06:55 +0000 |
commit | 64f6c5fd9bea2f25d0459347c6626f5b51989e73 (patch) | |
tree | 97df3e2e4040b968a0a4e12af997da434148131d | |
parent | f7659ab23590a46d148bf47db9eb4719f3c0aeed (diff) | |
download | src-64f6c5fd9bea2f25d0459347c6626f5b51989e73.tar.gz src-64f6c5fd9bea2f25d0459347c6626f5b51989e73.zip |
gettimeofday.2: Do mention improbable future removal
As kib@ noted:
> Obviously gettimeofday(2) is not going to be removed
> even in the far future.
Reported by: kib
Fixes: 4395d3ced5cf Document that gettimeofday() is obsolescent
MFC after: 3 days
(cherry picked from commit 6662c2312e956439652ce2d06b42753b6a78fc61)
-rw-r--r-- | lib/libc/sys/gettimeofday.2 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index 27149dcbeb1d..8412af6da5cf 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -27,7 +27,7 @@ .\" .\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95 .\" -.Dd April 24, 2024 +.Dd April 28, 2024 .Dt GETTIMEOFDAY 2 .Os .Sh NAME @@ -141,11 +141,9 @@ function is considered obsolescent and its usage discouraged by .\" XXX: This should be replaced in the future when an appropriate argument to .\" the St macro is available: -p1003.1-2017 .No IEEE Std 1003.1-2008, 2017 Edition (\\(LqPOSIX.1\\(Rq) . -Application should use the +Applications should use the .Xr clock_gettime 2 -function instead as -.Nm gettimeofday -might be removed in the future. +function instead. .Sh HISTORY The .Fn gettimeofday |