]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/gettimeofday.2: HISTORY: Update first POSIX appearance of gettimeofday(2)
authorSeth McDonald <sethmcmail@pm.me>
Thu, 22 Jan 2026 02:26:05 +0000 (02:26 +0000)
committerAlejandro Colomar <alx@kernel.org>
Fri, 23 Jan 2026 16:02:17 +0000 (17:02 +0100)
gettimeofday(2) first appeared in SUSv1.[1]  The function was added to
POSIX.1-2001 when POSIX and SUS merged, but as an XSI extension (still
SUS-only).[2]

[1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
Version 2, Chapter 3 "System Interfaces", p. 275.
[2] IEEE Std 1003.1-2001, Volume 2, Chapter 3 "System Interfaces", p.
567.
<https://pubs.opengroup.org/onlinepubs/009604499/functions/gettimeofday.html>

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <37278a0497bdc28cbeaef156d36d66530381bd6c.1769047228.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/gettimeofday.2

index 8310f9c784bf4c48c369ae334d46f11a52f7db08..7dbd25a2666ff0ab3a0185e517dfc55f47646dd6 100644 (file)
@@ -177,12 +177,13 @@ so the kernel's timezone is typically UTC.
 .SH STANDARDS
 None.
 .SH HISTORY
-SVr4, 4.3BSD.
-POSIX.1-2001 described
+4.3BSD,
+SVr4.
+SUSv1 and POSIX.1-2001 XSI described
 .BR gettimeofday ()
 but not
 .BR settimeofday ().
-POSIX.1-2008 marked
+POSIX.1-2008 XSI marked
 .BR gettimeofday ()
 as obsolete, recommending the use of
 .BR clock_gettime (2)