summaryrefslogtreecommitdiff
path: root/include/string.h
blob: b09d2cb39f42c42efbe81440e4c1506f1b1fe1e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _STRING_H
#define _STRING_H

#include <stddef.h>
#define NULL ((void*)0)

extern void *memcpy(void *__restrict, const void *__restrict, size_t);
void *memmove(void *, const void *, size_t);
void *memset(void *, int, size_t);
int memcmp(const void *, const void *, size_t);
void *memchr(const void *, int, size_t);

char *strchr(const char *, int);
char *strrchr(const char*, int);

size_t strlen(const char *);
size_t strnlen(const char *, size_t);
#endif /* _STRING_H */