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:		4395d3ced5 Document that gettimeofday() is obsolescent
MFC after:	3 days
This commit is contained in:
Mateusz Piotrowski 2024-04-28 20:06:05 +02:00
parent dafb424b8d
commit 6662c2312e

View File

@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd April 24, 2024
.Dd April 28, 2024
.Dt GETTIMEOFDAY 2
.Os
.Sh NAME
@ -139,11 +139,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