#ifndef KERNAUX_INCLUDED_LIBC #define KERNAUX_INCLUDED_LIBC #ifdef __cplusplus extern "C" { #endif #include // int isdigit(int c); int isspace(int c); // int atoi(const char *str); // void *memcpy(void *dest, const void *src, size_t n); void *memmove(void *dest, const void *src, size_t n); void *memset(void *s, int c, size_t n); int strcmp(const char *s1, const char *s2); char *strcpy(char *dest, const char *src); size_t strlen(const char *s); int strncmp(const char *s1, const char *s2, size_t n); char *strncpy(char *dest, const char *src, size_t n); size_t strnlen(const char *s, size_t maxlen); char *strstr(const char *haystack, const char *needle); #ifdef __cplusplus } #endif #endif