__assert_fail(): remove _Noreturn, to get proper stacktraces
[musl] / include / strings.h
1 #ifndef _STRINGS_H
2 #define _STRINGS_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8
9 #define __NEED_size_t
10 #define __NEED_locale_t
11 #include <bits/alltypes.h>
12
13
14 int bcmp (const void *, const void *, size_t);
15 void bcopy (const void *, void *, size_t);
16 void bzero (void *, size_t);
17
18 int ffs (int);
19
20 char *index (const char *, int);
21 char *rindex (const char *, int);
22
23 int strcasecmp (const char *, const char *);
24 int strncasecmp (const char *, const char *, size_t);
25
26 int strcasecmp_l (const char *, const char *, locale_t);
27 int strncasecmp_l (const char *, const char *, size_t, locale_t);
28
29 #ifdef __cplusplus
30 }
31 #endif
32
33 #endif