059e3309a38cf795cea265c8e505620e9f44d88e
[musl] / include / strings.h
1 #ifndef _STRINGS_H
2 #define _STRINGS_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #undef NULL
9 #ifdef __cplusplus
10 #define NULL 0
11 #else
12 #define NULL ((void*)0)
13 #endif
14
15
16 #define __NEED_size_t
17 #include <bits/alltypes.h>
18
19
20 int bcmp (const void *, const void *, size_t);
21 void bcopy (const void *, void *, size_t);
22 void bzero (void *, size_t);
23
24 int ffs (int);
25
26 char *index (const char *, int);
27 char *rindex (const char *, int);
28
29 int strcasecmp (const char *, const char *);
30 int strncasecmp (const char *, const char *, size_t);
31
32 #ifdef __cplusplus
33 }
34 #endif
35
36 #endif