blob: 0aedb0b9c90c00d301f9a293f01c7de5819f66bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef STRING_H
#define STRING_H
#include <stddef.h>
#include <stdbool.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);
char *strncpy(char *restrict dst, const char *restrict src, size_t dsize);
int strncmp(const char *s1, const char *s2, size_t n);
void *memset(void *s, int c, size_t n);
#endif /* STRING_H */
|