2013-10-12 19:42:20 -04:00
|
|
|
typedef unsigned int size_t;
|
|
|
|
|
2013-10-23 15:39:20 -04:00
|
|
|
void __assert_func(void);
|
2013-10-12 19:42:20 -04:00
|
|
|
|
|
|
|
void *malloc(size_t n);
|
|
|
|
void free(void *ptr);
|
|
|
|
void *calloc(size_t sz, size_t n);
|
|
|
|
void *realloc(void *ptr, size_t n);
|
|
|
|
|
|
|
|
void *memcpy(void *dest, const void *src, size_t n);
|
2013-10-20 12:42:00 -04:00
|
|
|
void *memmove(void *dest, const void *src, size_t n);
|
2013-10-12 19:42:20 -04:00
|
|
|
void *memset(void *s, int c, size_t n);
|
|
|
|
|
2014-01-21 18:28:03 -05:00
|
|
|
size_t strlen(const char *str);
|
2013-10-12 19:42:20 -04:00
|
|
|
int strcmp(const char *s1, const char *s2);
|
|
|
|
int strncmp(const char *s1, const char *s2, size_t n);
|
|
|
|
char *strndup(const char *s, size_t n);
|
|
|
|
char *strcpy(char *dest, const char *src);
|
|
|
|
char *strcat(char *dest, const char *src);
|
2014-01-13 01:34:58 -05:00
|
|
|
char *strchr(const char *s, int c);
|
|
|
|
char *strstr(const char *haystack, const char *needle);
|
2013-10-12 19:42:20 -04:00
|
|
|
|
|
|
|
int printf(const char *fmt, ...);
|
|
|
|
int snprintf(char *str, size_t size, const char *fmt, ...);
|