source:
trunk/sys/dietlibc/include/strings.h
@
1
| Last change on this file since 1 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 417 bytes | |
| Line | |
|---|---|
| 1 | #ifndef _STRINGS_H |
| 2 | #define _STRINGS_H |
| 3 | |
| 4 | #include <stddef.h> |
| 5 | #include <stdint.h> |
| 6 | |
| 7 | int strcasecmp(const char *s1, const char *s2); |
| 8 | int strncasecmp(const char *s1, const char *s2, size_t n); |
| 9 | int ffs(int i) __attribute__((__const__)); |
| 10 | |
| 11 | |
| 12 | #define bzero(s,n) memset(s,0,n) |
| 13 | #define bcopy(src,dest,n) memmove(dest,src,n) |
| 14 | #define bcmp(a,b,n) memcmp(a,b,n) |
| 15 | #define index(a,b) strchr(a,b) |
| 16 | #define rindex(a,b) strrchr(a,b) |
| 17 | |
| 18 | #endif |
Note: See TracBrowser
for help on using the repository browser.
