Rev 2479 | Rev 2754 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2479 | Rev 2541 | ||
---|---|---|---|
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 <types.h> |
38 | #include <sys/types.h> |
39 | 39 | ||
40 | #define bzero(ptr, len) memset((ptr), 0, (len)) |
40 | #define bzero(ptr, len) memset((ptr), 0, (len)) |
41 | 41 | ||
42 | void * memset(void *s, int c, size_t n); |
42 | void * memset(void *s, int c, size_t n); |
43 | void * memcpy(void *dest, const void *src, size_t n); |
43 | void * memcpy(void *dest, const void *src, size_t n); |