|
Lines 42-49
typedef __size_t size_t;
Link Here
|
| 42 |
__BEGIN_DECLS |
42 |
__BEGIN_DECLS |
| 43 |
#if __BSD_VISIBLE || __POSIX_VISIBLE <= 200112 |
43 |
#if __BSD_VISIBLE || __POSIX_VISIBLE <= 200112 |
| 44 |
int bcmp(const void *, const void *, size_t) __pure; /* LEGACY */ |
44 |
int bcmp(const void *, const void *, size_t) __pure; /* LEGACY */ |
|
|
45 |
#define bcmp(b1, b2, len) __builtin_memcmp((b1), (b2), (len)) |
| 45 |
void bcopy(const void *, void *, size_t); /* LEGACY */ |
46 |
void bcopy(const void *, void *, size_t); /* LEGACY */ |
|
|
47 |
#define bcopy(from, to, len) __builtin_memmove((to), (from), (len)) |
| 46 |
void bzero(void *, size_t); /* LEGACY */ |
48 |
void bzero(void *, size_t); /* LEGACY */ |
|
|
49 |
#define bzero(buf, len) __builtin_memset((buf), 0, (len)) |
| 47 |
#endif |
50 |
#endif |
| 48 |
#if __BSD_VISIBLE |
51 |
#if __BSD_VISIBLE |
| 49 |
void explicit_bzero(void *, size_t); |
52 |
void explicit_bzero(void *, size_t); |