2021-12-15 10:45:40 +00:00
|
|
|
#ifndef KERNAUX_INCLUDED_LIBC
|
2021-12-20 06:17:53 +00:00
|
|
|
#define KERNAUX_INCLUDED_LIBC
|
2021-12-15 10:45:40 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
2022-01-23 18:17:03 +00:00
|
|
|
// <ctype.h>
|
|
|
|
int isdigit(int c);
|
2022-01-23 18:25:36 +00:00
|
|
|
int isspace(int c);
|
2022-01-23 18:17:03 +00:00
|
|
|
|
2022-01-23 18:41:07 +00:00
|
|
|
// <stdlib.h>
|
|
|
|
int atoi(const char *str);
|
|
|
|
|
2022-01-23 18:17:03 +00:00
|
|
|
// <string.h>
|
2021-12-15 10:45:40 +00:00
|
|
|
void *memset(void *s, int c, size_t n);
|
|
|
|
char *strcpy(char *dest, const char *src);
|
|
|
|
size_t strlen(const char *s);
|
2022-01-19 11:14:46 +00:00
|
|
|
size_t strnlen(const char *s, size_t maxlen);
|
2021-12-15 10:45:40 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|