Hash :
7c4ee888
Author :
Date :
2023-01-03T21:33:32
ffsl, ffsll: Fix compilation error on Android. * lib/string.in.h: On Android as well, include <strings.h>. * m4/ffsl.m4 (gl_FUNC_FFSL): Use a specific link test instead of AC_CHECK_FUNCS_ONCE. * m4/ffsll.m4 (gl_FUNC_FFSLL): Likewise. * doc/glibc-functions/ffsl.texi: Mention Android problems. * doc/glibc-functions/ffsll.texi: Likewise.
@node ffsll
@subsection @code{ffsll}
@findex ffsll
Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/ffsll.3.html,,man ffsll}
Gnulib module: ffsll
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on many non-glibc platforms:
Mac OS X 10.5, FreeBSD 6.0, NetBSD 9.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, Cygwin 1.7.x, mingw, MSVC 14, Android 9.0.
@item
This function is declared in @code{<strings.h>} instead of @code{<string.h>}
on some platforms:
AIX 7.2, Android 13.
@item
This function returns completely wrong values on some platforms:
AIX 7.2 in 32-bit mode.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function is only defined as an inline function on some platforms:
Android 13.
@end itemize