summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-11-03 10:22:19 +0000
committerkib <kib@FreeBSD.org>2008-11-03 10:22:19 +0000
commit8b86595849b35ac7c26977f1b8206c1678c9b5bb (patch)
tree1736b8d9ed54635f5f6a78cea9b9e57e008ff489 /include
parent2f0fec26d1f00542c759ebd153e7c91686217bc4 (diff)
downloadFreeBSD-src-8b86595849b35ac7c26977f1b8206c1678c9b5bb.zip
FreeBSD-src-8b86595849b35ac7c26977f1b8206c1678c9b5bb.tar.gz
Add the ffsll and flsll functions. These are ffs and fls operating
on long long arguments. Reviewed by: bde (previous version, that included asm implementation for all ffs and fls functions on i386 and amd64) MFC after: 2 weeks
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 4b19d0e..f6a0024 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -44,8 +44,10 @@ void bzero(void *, size_t); /* LEGACY */
int ffs(int) __pure2;
#ifdef __BSD_VISIBLE
int ffsl(long) __pure2;
+int ffsll(long long) __pure2;
int fls(int) __pure2;
int flsl(long) __pure2;
+int flsll(long long) __pure2;
#endif
char *index(const char *, int) __pure; /* LEGACY */
char *rindex(const char *, int) __pure; /* LEGACY */
OpenPOWER on IntegriCloud