Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
.sp
.BI "int ffs(int " i );
.sp
-.B #define _GNU_SOURCE
-.br
.B #include <string.h>
.sp
.BI "int ffsl(long int " i );
.sp
.BI "int ffsll(long long int " i );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.PD 0
+.ad l
+.sp
+.BR ffs ():
+.RS 4
+.TP 4
+Since glibc 2.12:
+_SVID_SOURCE || _BSD_SOURCE ||
+_POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700 ||
+.TP
+Before glibc 2.12:
+none
+.RE
+.PP
+.BR ffsl (),
+.BR ffsll ():
+_GNU_SOURCE
+.ad
+.PD
.SH DESCRIPTION
The
.BR ffs ()