2022-09-05 14:13:51 +00:00
|
|
|
#pragma once
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
size_t strlen(const char* __s);
|
|
|
|
|
|
|
|
__attribute__((deprecated)) char* strcpy(char* dest, const char* src);
|
2022-09-10 16:06:46 +00:00
|
|
|
__attribute__((deprecated)) int strcmp(const char* a, const char* b);
|
2022-09-05 14:13:51 +00:00
|
|
|
__attribute__((deprecated)) char* strcat(char* dest, const char* src);
|
|
|
|
|
|
|
|
char* strncpy(char* dest, const char* src, size_t n);
|
2022-09-10 16:06:46 +00:00
|
|
|
int strncmp(const char* a, const char* b, size_t n);
|
2022-09-05 14:13:51 +00:00
|
|
|
char* strncat(char* dest, const char* src, size_t n);
|
|
|
|
|
2022-09-08 15:02:16 +00:00
|
|
|
char* strstr(char* haystack, char* needle);
|
|
|
|
|
2022-09-05 14:13:51 +00:00
|
|
|
void* memcpy(void* dest, const void* src, size_t n);
|
|
|
|
void* memset(void* dest, int c, size_t n);
|
|
|
|
int memcmp(const void* a, const void* b, size_t n);
|
|
|
|
void* memmove(void* dest, void* src, size_t n);
|