Rev 3742 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3742 | Rev 3745 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | */ |
33 | */ |
| 34 | 34 | ||
| 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 <sys/types.h> |
39 | #include <sys/types.h> |
| 39 | 40 | ||
| 40 | #define bzero(ptr, len) memset((ptr), 0, (len)) |
- | |
| 41 | - | ||
| 42 | extern void * memset(void *, int, size_t); |
- | |
| 43 | extern void * memcpy(void *, const void *, size_t); |
- | |
| 44 | extern void * memmove(void *, const void *, size_t); |
- | |
| 45 | - | ||
| 46 | extern int bcmp(const char *, const char *, size_t); |
- | |
| 47 | - | ||
| 48 | extern int strcmp(const char *, const char *); |
41 | extern int strcmp(const char *, const char *); |
| 49 | extern int strncmp(const char *, const char *, size_t); |
42 | extern int strncmp(const char *, const char *, size_t); |
| 50 | extern int stricmp(const char *, const char *); |
43 | extern int stricmp(const char *, const char *); |
| 51 | 44 | ||
| 52 | extern char *strcpy(char *, const char *); |
45 | extern char *strcpy(char *, const char *); |