|
nsz |
f81126 |
#include <string.h>
|
|
nsz |
f81126 |
#define T(t) (t*)0;
|
|
nsz |
f81126 |
static void f()
|
|
nsz |
f81126 |
{
|
|
nsz |
f81126 |
T(size_t)
|
|
nsz |
f81126 |
void*(*p_memchr)(const void*,int,size_t) = memchr;
|
|
nsz |
f81126 |
int(*p_memcmp)(const void*,const void*,size_t) = memcmp;
|
|
nsz |
f81126 |
void*(*p_memcpy)(void*restrict,const void*restrict,size_t) = memcpy;
|
|
nsz |
f81126 |
void*(*p_memmove)(void*,const void*,size_t) = memmove;
|
|
nsz |
f81126 |
void*(*p_memset)(void*,int,size_t) = memset;
|
|
nsz |
f81126 |
char*(*p_strcat)(char*restrict,const char*restrict) = strcat;
|
|
nsz |
f81126 |
char*(*p_strchr)(const char*,int) = strchr;
|
|
nsz |
f81126 |
int(*p_strcmp)(const char*,const char*) = strcmp;
|
|
nsz |
f81126 |
int(*p_strcoll)(const char*,const char*) = strcoll;
|
|
nsz |
f81126 |
char*(*p_strcpy)(char*restrict,const char*restrict) = strcpy;
|
|
nsz |
f81126 |
size_t(*p_strcspn)(const char*,const char*) = strcspn;
|
|
nsz |
f81126 |
char*(*p_strerror)(int) = strerror;
|
|
nsz |
f81126 |
size_t(*p_strlen)(const char*) = strlen;
|
|
nsz |
f81126 |
char*(*p_strncat)(char*restrict,const char*restrict,size_t) = strncat;
|
|
nsz |
f81126 |
int(*p_strncmp)(const char*,const char*,size_t) = strncmp;
|
|
nsz |
f81126 |
char*(*p_strncpy)(char*restrict,const char*restrict,size_t) = strncpy;
|
|
nsz |
f81126 |
char*(*p_strpbrk)(const char*,const char*) = strpbrk;
|
|
nsz |
f81126 |
char*(*p_strrchr)(const char*,int) = strrchr;
|
|
nsz |
f81126 |
char*(*p_strsignal)(int) = strsignal;
|
|
nsz |
f81126 |
size_t(*p_strspn)(const char*,const char*) = strspn;
|
|
nsz |
f81126 |
char*(*p_strstr)(const char*,const char*) = strstr;
|
|
nsz |
f81126 |
char*(*p_strtok)(char*restrict,const char*restrict) = strtok;
|
|
nsz |
f81126 |
size_t(*p_strxfrm)(char*restrict,const char*restrict,size_t) = strxfrm;
|
|
nsz |
f81126 |
#ifdef _POSIX_C_SOURCE
|
|
nsz |
f81126 |
T(locale_t)
|
|
nsz |
f81126 |
char*(*p_stpcpy)(char*restrict,const char*restrict) = stpcpy;
|
|
nsz |
f81126 |
char*(*p_stpncpy)(char*restrict,const char*restrict,size_t) = stpncpy;
|
|
nsz |
f81126 |
int(*p_strcoll_l)(const char*,const char*,locale_t) = strcoll_l;
|
|
nsz |
f81126 |
char*(*p_strdup)(const char*) = strdup;
|
|
nsz |
f81126 |
char*(*p_strerror_l)(int,locale_t) = strerror_l;
|
|
nsz |
f81126 |
int(*p_strerror_r)(int,char*,size_t) = strerror_r;
|
|
nsz |
f81126 |
char*(*p_strndup)(const char*,size_t) = strndup;
|
|
nsz |
f81126 |
size_t(*p_strnlen)(const char*,size_t) = strnlen;
|
|
nsz |
f81126 |
char*(*p_strtok_r)(char*restrict,const char*restrict,char**restrict) = strtok_r;
|
|
nsz |
f81126 |
size_t(*p_strxfrm_l)(char*restrict,const char*restrict,size_t,locale_t) = strxfrm_l;
|
|
nsz |
f81126 |
#endif
|
|
nsz |
f81126 |
#ifdef _XOPEN_SOURCE
|
|
nsz |
f81126 |
void*(*p_memccpy)(void*restrict,const void*restrict,int,size_t) = memccpy;
|
|
nsz |
f81126 |
#endif
|
|
nsz |
f81126 |
}
|