rulimine/common/lib/libc.h

27 lines
642 B
C
Raw Normal View History

#ifndef __LIB__LIBC_H__
#define __LIB__LIBC_H__
2019-05-31 07:23:23 +03:00
#include <stddef.h>
#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 *);
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