git: c508edeb8580 - stable/15 - ffs.3: Add a STANDARDS section to the manual page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Oct 2025 08:02:57 UTC
The branch stable/15 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=c508edeb8580ac7b344aaa13d1ce30d4e786176c
commit c508edeb8580ac7b344aaa13d1ce30d4e786176c
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:02:42 +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 | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/lib/libc/string/ffs.3 b/lib/libc/string/ffs.3
index 2a5adb01c737..1cca54c0b30b 100644
--- a/lib/libc/string/ffs.3
+++ b/lib/libc/string/ffs.3
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd October 17, 2015
+.Dd October 25, 2025
.Dt FFS 3
.Os
.Sh NAME
@@ -80,6 +80,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