]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
clock_getres.2: HISTORY: Clarify that POSIX.1-2008 only makes mandatory the functions
authorAlejandro Colomar <alx@kernel.org>
Mon, 4 Mar 2024 12:02:29 +0000 (13:02 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 5 Mar 2024 01:27:48 +0000 (02:27 +0100)
The different clocks are still optional.

Closes: <https://bugzilla.kernel.org/show_bug.cgi?id=218452>
Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections")
Reported-by: Enrique Garcia <cquike@arcor.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/clock_getres.2

index 8457f6148294d3105ec872745bcb8841ffaf8a4d..9c98d12e9ad546e0cd1e5626034dfdd7f50dea8f 100644 (file)
@@ -377,6 +377,8 @@ Linux 2.6.
 On POSIX systems on which these functions are available, the symbol
 .B _POSIX_TIMERS
 is defined in \fI<unistd.h>\fP to a value greater than 0.
+POSIX.1-2008 makes these functions mandatory.
+.P
 The symbols
 .BR _POSIX_MONOTONIC_CLOCK ,
 .BR _POSIX_CPUTIME ,
@@ -388,7 +390,6 @@ indicate that
 are available.
 (See also
 .BR sysconf (3).)
-POSIX.1-2008 makes these APIs mandatory.
 .\"
 .SS Historical note for SMP systems
 Before Linux added kernel support for