diff options
Diffstat (limited to 'src/string.h')
-rw-r--r-- | src/string.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/string.h b/src/string.h new file mode 100644 index 0000000..0d2c8d4 --- /dev/null +++ b/src/string.h @@ -0,0 +1,15 @@ + +#ifndef STRING_H +#define STRING_H + +#include <stddef.h> +#include <stdint.h> + +int memcmp(const void *s1, const void *s2, size_t n); +void *memcpy(void *dest, const void *src, size_t n); +void *memmove(void *dest, const void *src, size_t n); +void *memset(void *s, int c, size_t n); +size_t strlen(const char *s); +char *hex(uint32_t n, char *buf); + +#endif |