27 lines
642 B
C
Raw Normal View History

#ifndef __LIB__LIBC_H__
#define __LIB__LIBC_H__
2019-05-31 06:23:23 +02:00
#include <stddef.h>
#include <stdbool.h>
bool isprint(int c);
bool isspace(int c);
2019-05-31 06:23:23 +02:00
2020-06-11 12:13:27 +02:00
int toupper(int c);
int tolower(int c);
2019-05-31 06:23:23 +02:00
void *memset(void *, int, size_t);
void *memcpy(void *, const void *, size_t);
int memcmp(const void *, const void *, size_t);
void *memmove(void *, const void *, size_t);
2020-06-11 12:13:27 +02:00
2019-05-31 06:23:23 +02:00
char *strcpy(char *, const char *);
char *strncpy(char *, const char *, size_t);
size_t strlen(const char *);
int strcmp(const char *, const char *);
int strcasecmp(const char *, const char *);
2019-05-31 06:23:23 +02:00
int strncmp(const char *, const char *, size_t);
2020-11-05 01:37:45 +01:00
int inet_pton(const char *src, void *dst);
2019-05-31 06:23:23 +02:00
#endif