Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Side by Side Diff: fusl/include/strings.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/string.h ('k') | fusl/include/stropts.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_POSIX_SOURCE) \
14 || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE+0 < 200809L) \
15 || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700)
16 int bcmp (const void *, const void *, size_t);
17 void bcopy (const void *, void *, size_t);
18 void bzero (void *, size_t);
19 char *index (const char *, int);
20 char *rindex (const char *, int);
21 #endif
22
23 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
24 int ffs (int);
25 int ffsl (long);
26 int ffsll (long long);
27 #endif
28
29 int strcasecmp (const char *, const char *);
30 int strncasecmp (const char *, const char *, size_t);
31
32 int strcasecmp_l (const char *, const char *, locale_t);
33 int strncasecmp_l (const char *, const char *, size_t, locale_t);
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39 #endif
OLDNEW
« no previous file with comments | « fusl/include/string.h ('k') | fusl/include/stropts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698