blob: 345c6517c78491135fce396113ec6cbc9ecf8a16 [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#ifndef _STRINGS_H
2#define _STRINGS_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
Rich Felker0b44a032011-02-12 00:22:29 -05008
9#define __NEED_size_t
Rich Felker36bf5692012-02-06 21:51:02 -050010#define __NEED_locale_t
Rich Felker0b44a032011-02-12 00:22:29 -050011#include <bits/alltypes.h>
12
13
14int bcmp (const void *, const void *, size_t);
15void bcopy (const void *, void *, size_t);
16void bzero (void *, size_t);
17
18int ffs (int);
19
20char *index (const char *, int);
21char *rindex (const char *, int);
22
23int strcasecmp (const char *, const char *);
24int strncasecmp (const char *, const char *, size_t);
25
Rich Felker36bf5692012-02-06 21:51:02 -050026int strcasecmp_l (const char *, const char *, locale_t);
27int strncasecmp_l (const char *, const char *, size_t, locale_t);
28
Rich Felker0b44a032011-02-12 00:22:29 -050029#ifdef __cplusplus
30}
31#endif
32
33#endif