Go to the source code of this file.
|
#define | setzero(_p, _sz) memset((_p), 0, (_sz)) |
|
#define | memput(__dst, __src, __sz) |
|
#define | memget(__dst, __src, __sz) |
|
#define | bufput(_src, _sz) (memput(buf, (_src), (_sz))) |
|
#define | bufget(_dst, _sz) (memget((_dst), buf, (_sz))) |
|
#define bufget |
( |
|
_dst, |
|
|
|
_sz |
|
) |
| (memget((_dst), buf, (_sz))) |
#define bufput |
( |
|
_src, |
|
|
|
_sz |
|
) |
| (memput(buf, (_src), (_sz))) |
#define memget |
( |
|
__dst, |
|
|
|
__src, |
|
|
|
__sz |
|
) |
| |
Value:({ \
void *_bufret=memcpy((__dst), (__src), (__sz)); \
(__src)+=(__sz); \
_bufret; \
})
#define memput |
( |
|
__dst, |
|
|
|
__src, |
|
|
|
__sz |
|
) |
| |
Value:({ \
void *_bufret=memcpy((__dst), (__src), (__sz)); \
(__dst)+=(__sz); \
_bufret; \
})
#define setzero |
( |
|
_p, |
|
|
|
_sz |
|
) |
| memset((_p), 0, (_sz)) |
int is_bufzero |
( |
const void * |
a, |
|
|
int |
sz |
|
) |
| |