Rev 3731 | Rev 4234 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3731 | Rev 4226 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | #ifndef LIBC_STRING_H_ |
35 | #ifndef LIBC_STRING_H_ |
36 | #define LIBC_STRING_H_ |
36 | #define LIBC_STRING_H_ |
37 | 37 | ||
38 | #include <mem.h> |
38 | #include <mem.h> |
39 | #include <sys/types.h> |
39 | #include <sys/types.h> |
- | 40 | #include <bool.h> |
|
- | 41 | ||
- | 42 | #define U_SPECIAL '?' |
|
- | 43 | ||
- | 44 | extern wchar_t str_decode(const char *str, size_t *offset, size_t sz); |
|
- | 45 | extern int chr_encode(const wchar_t ch, char *str, size_t *offset, size_t sz); |
|
- | 46 | ||
- | 47 | extern bool chr_check(const wchar_t ch); |
|
40 | 48 | ||
41 | extern int strcmp(const char *, const char *); |
49 | extern int strcmp(const char *, const char *); |
42 | extern int strncmp(const char *, const char *, size_t); |
50 | extern int strncmp(const char *, const char *, size_t); |
43 | extern int stricmp(const char *, const char *); |
51 | extern int stricmp(const char *, const char *); |
44 | 52 |