summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-31 02:38:23 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-31 02:38:23 -0400
commitecc082c61b6da9a8b2ae0c07aa3331673834d94a (patch)
tree45cefbc8c2fa4f1e7729d28a0e1435a4bf4769fb /include
parent38db09374a1cf4c2712c980b07b22a67a5f6bbc3 (diff)
downloadmusl-ecc082c61b6da9a8b2ae0c07aa3331673834d94a.tar.gz
implement ffsl and ffsll functions
per the resolution of Austin Group issue #617, these are accepted for XSI option in POSIX future and thus I'm treating them as standard functions.
Diffstat (limited to 'include')
-rw-r--r--include/strings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/strings.h b/include/strings.h
index 4d7d69c3..db0960b4 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -22,6 +22,8 @@ char *rindex (const char *, int);
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int ffs (int);
+int ffsl (long);
+int ffsll (long long);
#endif
int strcasecmp (const char *, const char *);