-
Notifications
You must be signed in to change notification settings - Fork 0
/
mem.h
16 lines (15 loc) · 807 Bytes
/
mem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdint.h>
int bcmp(const void* s1, const void* s2, uint32_t n);
void* bcopy(const void* src, void* dest, uint32_t n);
void* bzero(void* s, uint32_t n);
void* memchr(const void* s, uint8_t c, uint32_t n);
void* memrchr(const void* s, uint8_t c, uint32_t n);
int memcmp(const void* s1, const void* s2, uint32_t count);
void* memcpy(void* dest, const void* src, uint32_t len);
void* memccpy(void* dest, const void* src, uint8_t c, uint32_t len);
void* mempcpy(void* dest, const void* src, uint32_t len);
void* memfrob(void* s, uint32_t n);
void* memmem(const void* haystack, uint32_t haystack_len, const void* needle, uint32_t needle_len);
void* memmove(void* dest, const void* src, uint32_t len);
void* memset(void* dst, uint8_t c, uint32_t len);
void swab(const void* src, void* dest, uint32_t n);