mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
* modules/ffsl: New file. * modules/ffsll: Likewise. * m4/ffsl.m4: Likewise. * m4/ffsll.m4: Likewise. * lib/ffsl.c: Likewise. * lib/ffsl.h: Likewise. * lib/ffsll.c: Likewise. * m4/string_h.m4 (gl_HEADER_STRING_H_BODY) (gl_HEADER_STRING_H_DEFAULTS): Add defaults. * modules/string (Makefile.am): Substitute witnesses. * lib/strings.in.h (ffsl, ffsll): Declare. * modules/ffsl-tests: New test file. * modules/ffsll-tests: Likewise. * tests/test-ffsl.c: Likewise. * tests/test-ffsll.c: Likewise. * MODULES.html.sh (Integer arithmetic functions): Mention it. * doc/glibc-functions/ffsl.texi (ffsl): Likewise. * doc/glibc-functions/ffsll.texi (ffsll): Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
31 lines
365 B
Plaintext
31 lines
365 B
Plaintext
Description:
|
|
Finds the index of the least-significant set bit.
|
|
|
|
Files:
|
|
lib/ffsl.h
|
|
lib/ffsl.c
|
|
m4/ffsl.m4
|
|
|
|
Depends-on:
|
|
extensions
|
|
string
|
|
ffs [test $HAVE_FFSL = 0]
|
|
|
|
configure.ac:
|
|
gl_FUNC_FFSL
|
|
if test $HAVE_FFSL = 0; then
|
|
AC_LIBOBJ([ffsl])
|
|
fi
|
|
gl_STRING_MODULE_INDICATOR([ffsl])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<string.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Eric Blake
|