summaryrefslogtreecommitdiff
path: root/src/string.h
blob: 0d2c8d490195d73cf4514b7e8bfa2c7d084b4845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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