[Bug 218452] small clarification clock_getres HISTORY section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=218452

Alejandro Colomar (alx@xxxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alx@xxxxxxxxxx
         Resolution|---                         |CODE_FIX

--- Comment #1 from Alejandro Colomar (alx@xxxxxxxxxx) ---
Thanks for the report!  I'll push the following commit tomorrow.


commit 00dbc94dd2e0024c3d146ce990307ef048a93a72 (HEAD -> contrib)
Author: Alejandro Colomar <alx (at) kernel (dot) org>
Date:   Mon Mar 4 13:02:29 2024 +0100

    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 (at) arcor (dot) de>
    Signed-off-by: Alejandro Colomar <alx (at) kernel (dot) org>

diff --git a/man2/clock_getres.2 b/man2/clock_getres.2
index 8457f6148..9c98d12e9 100644
--- a/man2/clock_getres.2
+++ b/man2/clock_getres.2
@@ -377,6 +377,8 @@ .SH HISTORY
 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 @@ .SH HISTORY
 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

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux