2 * Copyright 2014 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
16 extern int ffs(int i
);
18 extern int strcasecmp(const char *string1
, const char *string2
);
19 extern int strncasecmp(const char *string1
, const char *string2
,
22 /* legacy compatibility -- might be removed one day */
23 #define bcmp(a, b, length) memcmp((a), (b), (length))
24 #define bcopy(source, dest, length) memmove((dest), (source), (length))
25 #define bzero(buffer, length) memset((buffer), 0, (length))
27 extern char *index(const char *s
, int c
);
28 extern char *rindex(char const *s
, int c
);
34 #endif /* _STRINGS_H_ */