summaryrefslogtreecommitdiff
path: root/src/include/toxic/string.h
blob: 3cb4a308c3f895adb55396aedf498f292b3c0c07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef STRING_H
#define STRING_H

#include <stddef.h>

#define NULL	((void *)0)

bool isdigit(char c);
size_t strlen(const char *s);
size_t strnlen(const char *s, size_t maxlen);
char *strcpy(char *restrict dst, const char *restrict src);

void *memset(void *s, int c, size_t n);
#endif /* STRING_H */