2018-10-23 08:12:50 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-31 01:09:11 +00:00
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#include <sys/types.h>
|
2018-10-23 08:12:50 +00:00
|
|
|
|
2018-10-31 01:09:11 +00:00
|
|
|
__BEGIN_DECLS
|
2018-10-23 08:12:50 +00:00
|
|
|
|
|
|
|
size_t strlen(const char*);
|
2018-10-26 11:32:13 +00:00
|
|
|
int strcmp(const char*, const char*);
|
2018-11-05 17:16:00 +00:00
|
|
|
int strncmp(const char*, const char*, size_t);
|
2018-10-28 08:36:21 +00:00
|
|
|
int memcmp(const void*, const void*, size_t);
|
2018-11-17 14:56:09 +00:00
|
|
|
void* memcpy(void*, const void*, size_t);
|
|
|
|
void* memmove(void*, const void*, size_t);
|
2018-11-05 17:16:00 +00:00
|
|
|
void bzero(void*, size_t);
|
|
|
|
void bcopy(const void*, void*, size_t);
|
2018-10-31 16:50:43 +00:00
|
|
|
void* memset(void*, int, size_t);
|
2018-10-31 09:14:56 +00:00
|
|
|
char* strcpy(char* dest, const char* src);
|
|
|
|
char* strncpy(char* dest, const char* src, size_t);
|
|
|
|
char* strchr(const char*, int c);
|
2018-11-11 19:42:41 +00:00
|
|
|
char* strstr(const char* haystack, const char* needle);
|
2018-10-31 16:50:43 +00:00
|
|
|
char* strrchr(const char*, int c);
|
2018-10-31 09:14:56 +00:00
|
|
|
char* strcat(char *dest, const char *src);
|
|
|
|
char* strncat(char *dest, const char *src, size_t);
|
2018-10-31 16:50:43 +00:00
|
|
|
size_t strspn(const char*, const char* accept);
|
|
|
|
size_t strcspn(const char*, const char* reject);
|
2018-11-05 13:50:41 +00:00
|
|
|
char* strerror(int errnum);
|
2018-11-06 14:45:16 +00:00
|
|
|
char* strsignal(int signum);
|
2018-10-23 08:12:50 +00:00
|
|
|
|
2018-10-31 01:09:11 +00:00
|
|
|
__END_DECLS
|
2018-10-23 08:12:50 +00:00
|
|
|
|