git: 38a172d3c6b7 - stable/14 - ffs.3: Add a STANDARDS section to the manual page

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Thu, 30 Oct 2025 08:04:13 UTC
The branch stable/14 has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=38a172d3c6b703402d3befd37be24cb83d98a6b6

commit 38a172d3c6b703402d3befd37be24cb83d98a6b6
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2025-10-25 21:37:22 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2025-10-30 08:04:03 +0000

    ffs.3: Add a STANDARDS section to the manual page
    
    The ffs() function conforms to IEEE Std 1003.1-2008 ("POSIX.1").
    The ffsl() and ffsll() functions conform to IEEE Std 1003.1-2024 ("POSIX.1").
    
    Reviewed by:    ziaee
    Differential Revision:  https://reviews.freebsd.org/D53352
    
    (cherry picked from commit f1cb4e9962d715ec85ba26d7019ab83adea1ffb7)
---
 lib/libc/string/ffs.3 | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/lib/libc/string/ffs.3 b/lib/libc/string/ffs.3
index 1adece73c8ae..9e0b39dce573 100644
--- a/lib/libc/string/ffs.3
+++ b/lib/libc/string/ffs.3
@@ -27,9 +27,10 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
+<<<<<<< HEAD
 .\"     @(#)ffs.3	8.2 (Berkeley) 4/19/94
 .\"
-.Dd October 17, 2015
+.Dd October 25, 2025
 .Dt FFS 3
 .Os
 .Sh NAME
@@ -82,6 +83,17 @@ argument was zero.
 .Sh SEE ALSO
 .Xr bitstring 3 ,
 .Xr bitset 9
+.Sh STANDARDS
+The
+.Fn ffs
+function conforms to
+.St -p1003.1-2008 .
+The
+.Fn ffsl
+and
+.Fn ffsll
+functions conform to
+.St -p1003.1-2024 .
 .Sh HISTORY
 The
 .Fn ffs