2020-04-24 15:48:14 +03:00
|
|
|
#ifndef __LIB__LIBC_H__
|
|
|
|
#define __LIB__LIBC_H__
|
2019-05-31 07:23:23 +03:00
|
|
|
|
|
|
|
#include <stddef.h>
|
2022-01-29 01:51:34 +03:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
bool isprint(int c);
|
|
|
|
bool isspace(int c);
|
2019-05-31 07:23:23 +03:00
|
|
|
|
2020-06-11 13:13:27 +03:00
|
|
|
int toupper(int c);
|
|
|
|
int tolower(int c);
|
|
|
|
|
2019-05-31 07:23:23 +03: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 13:13:27 +03:00
|
|
|
|
2019-05-31 07:23:23 +03:00
|
|
|
char *strcpy(char *, const char *);
|
|
|
|
char *strncpy(char *, const char *, size_t);
|
|
|
|
size_t strlen(const char *);
|
|
|
|
int strcmp(const char *, const char *);
|
2021-06-12 09:03:49 +03:00
|
|
|
int strcasecmp(const char *, const char *);
|
2019-05-31 07:23:23 +03:00
|
|
|
int strncmp(const char *, const char *, size_t);
|
2020-11-05 03:37:45 +03:00
|
|
|
int inet_pton(const char *src, void *dst);
|
2019-05-31 07:23:23 +03:00
|
|
|
|
|
|
|
#endif
|