]> git.ipfire.org Git - thirdparty/man-pages.git/commit
man/man2/gettimeofday.2: Declare functions with [[deprecated]]
authorCollin Funk <collin.funk1@gmail.com>
Thu, 19 Jun 2025 22:43:49 +0000 (15:43 -0700)
committerAlejandro Colomar <alx@kernel.org>
Sun, 27 Jul 2025 11:12:07 +0000 (13:12 +0200)
commit50ce5a4b7b1a53188117001daaafa339ec955a2a
tree33d82195c384e7893deb607b7861f1fe7d65e68d
parent17472bafcb856eead23b3a42e780986d9c3bffaa
man/man2/gettimeofday.2: Declare functions with [[deprecated]]

As documented in the STANDARDS section, gettimeofday(2) was deprecated
in POSIX.1-2008 and removed in POSIX.1-2024.  Mark it and
settimeofday(2) with [[deprecated]], and mention clock_settime(2) as a
modern and standardized alternative to settimeofday(2).

Signed-off-by: Collin Funk <collin.funk1@gmail.com>
Message-ID: <2d37d5a9251af3c1d25cf8e73e3585a9955d5772.1750373011.git.collin.funk1@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/gettimeofday.2