2018-10-12 05:15:40 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <_cheader.h>
|
2018-02-25 08:13:54 +03:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
|
2018-10-12 05:15:40 +03:00
|
|
|
_Begin_C_Header
|
|
|
|
|
2018-02-25 08:13:54 +03:00
|
|
|
extern void * memset(void * dest, int c, size_t n);
|
2018-05-09 10:55:10 +03:00
|
|
|
extern void * memcpy(void * dest, const void * src, size_t n);
|
2018-02-25 08:13:54 +03:00
|
|
|
extern void * memmove(void * dest, const void * src, size_t n);
|
|
|
|
|
|
|
|
extern void * memchr(const void * src, int c, size_t n);
|
|
|
|
extern void * memrchr(const void * m, int c, size_t n);
|
|
|
|
extern int memcmp(const void *vl, const void *vr, size_t n);
|
|
|
|
|
|
|
|
extern void * __attribute__ ((malloc)) malloc(uintptr_t size);
|
|
|
|
extern void * __attribute__ ((malloc)) realloc(void * ptr, uintptr_t size);
|
|
|
|
extern void * __attribute__ ((malloc)) calloc(uintptr_t nmemb, uintptr_t size);
|
|
|
|
extern void * __attribute__ ((malloc)) valloc(uintptr_t size);
|
|
|
|
extern void free(void * ptr);
|
|
|
|
|
|
|
|
extern char * strdup(const char * s);
|
2018-05-09 10:55:10 +03:00
|
|
|
extern char * stpcpy(char * d, const char * s);
|
|
|
|
extern char * strcpy(char * dest, const char * src);
|
2018-02-25 08:13:54 +03:00
|
|
|
extern char * strchrnul(const char * s, int c);
|
|
|
|
extern char * strchr(const char * s, int c);
|
|
|
|
extern char * strrchr(const char * s, int c);
|
|
|
|
extern char * strpbrk(const char * s, const char * b);
|
|
|
|
extern char * strstr(const char * h, const char * n);
|
|
|
|
|
2018-06-25 10:28:13 +03:00
|
|
|
extern char * strncpy(char * dest, const char * src, size_t n);
|
|
|
|
|
2018-02-25 08:13:54 +03:00
|
|
|
extern int strcmp(const char * l, const char * r);
|
2018-05-04 06:21:52 +03:00
|
|
|
extern int strncmp(const char *s1, const char *s2, size_t n);
|
2018-06-25 06:11:33 +03:00
|
|
|
extern int strcoll(const char * s1, const char * s2);
|
2018-02-25 08:13:54 +03:00
|
|
|
|
|
|
|
extern size_t strcspn(const char * s, const char * c);
|
|
|
|
extern size_t strspn(const char * s, const char * c);
|
|
|
|
extern size_t strlen(const char * s);
|
|
|
|
|
|
|
|
extern int atoi(const char * s);
|
|
|
|
|
|
|
|
extern char * strcat(char *dest, const char *src);
|
2018-10-10 02:42:52 +03:00
|
|
|
extern char * strncat(char *dest, const char *src, size_t n);
|
2018-02-25 08:13:54 +03:00
|
|
|
|
2018-06-25 09:45:32 +03:00
|
|
|
extern char * strtok(char * str, const char * delim);
|
2018-02-25 08:13:54 +03:00
|
|
|
extern char * strtok_r(char * str, const char * delim, char ** saveptr);
|
|
|
|
|
|
|
|
extern char * strncpy(char *dest, const char *src, size_t n);
|
2018-06-25 06:11:33 +03:00
|
|
|
|
|
|
|
extern char * strerror(int errnum);
|
2018-10-12 04:35:28 +03:00
|
|
|
extern size_t strxfrm(char *dest, const char *src, size_t n);
|
2018-10-10 02:42:52 +03:00
|
|
|
|
2018-10-12 05:15:40 +03:00
|
|
|
_End_C_Header
|
|
|
|
|
2018-10-10 02:42:52 +03:00
|
|
|
#include <strings.h>
|