blob: acd03aba9879a5a6924ea2bb7b64db192bcf922e (
plain)
1
2
3
4
5
6
7
8
9
10
|
#ifndef STRING_H
#define STRING_H
void* memcpy(void* restrict dstptr, const void* restrict srcptr, int size);
int strcmp(char *str1, char *str2);
int strcmp_l(char *str1, char *str2, int length);
int strlen(const char* string);
static char *strcpy (char* dst, const char *src ){return memcpy(dst,src,strlen(src));}
#endif
|