aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-03-04 13:02:29 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-05 02:27:48 +0100
commitc40ffd6151bcf41420339ae78661da343fc4afe6 (patch)
tree7ab67738f7457a8309aae1a1614f14dcc6d84bdd
parentb8b26418dc0444b92da7cc54cd2f4aba595217c8 (diff)
downloadman-pages-c40ffd6151bcf41420339ae78661da343fc4afe6.tar.gz
clock_getres.2: HISTORY: Clarify that POSIX.1-2008 only makes mandatory the functions
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>
-rw-r--r--man2/clock_getres.23
1 files changed, 2 insertions, 1 deletions
diff --git a/man2/clock_getres.2 b/man2/clock_getres.2
index 8457f61482..9c98d12e9a 100644
--- a/man2/clock_getres.2
+++ b/man2/clock_getres.2
@@ -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