2021-12-15 05:45:40 -05:00
|
|
|
#ifndef KERNAUX_INCLUDED_LIBC
|
2021-12-20 01:17:53 -05:00
|
|
|
#define KERNAUX_INCLUDED_LIBC
|
2021-12-15 05:45:40 -05:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
2022-01-23 13:17:03 -05:00
|
|
|
// <ctype.h>
|
|
|
|
int isdigit(int c);
|
2022-01-23 13:25:36 -05:00
|
|
|
int isspace(int c);
|
2022-01-23 13:17:03 -05:00
|
|
|
|
2022-01-23 13:41:07 -05:00
|
|
|
// <stdlib.h>
|
|
|
|
int atoi(const char *str);
|
|
|
|
|
2022-01-23 13:17:03 -05:00
|
|
|
// <string.h>
|
2021-12-15 05:45:40 -05: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 06:14:46 -05:00
|
|
|
size_t strnlen(const char *s, size_t maxlen);
|
2021-12-15 05:45:40 -05:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|