Blame src/api/string.c

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 0ef264
{void*(*p)(const void*,int,size_t) = memchr;}
nsz 0ef264
{int(*p)(const void*,const void*,size_t) = memcmp;}
nsz 0ef264
{void*(*p)(void*restrict,const void*restrict,size_t) = memcpy;}
nsz 0ef264
{void*(*p)(void*,const void*,size_t) = memmove;}
nsz 0ef264
{void*(*p)(void*,int,size_t) = memset;}
nsz 0ef264
{char*(*p)(char*restrict,const char*restrict) = strcat;}
nsz 0ef264
{char*(*p)(const char*,int) = strchr;}
nsz 0ef264
{int(*p)(const char*,const char*) = strcmp;}
nsz 0ef264
{int(*p)(const char*,const char*) = strcoll;}
nsz 0ef264
{char*(*p)(char*restrict,const char*restrict) = strcpy;}
nsz 0ef264
{size_t(*p)(const char*,const char*) = strcspn;}
nsz 0ef264
{char*(*p)(int) = strerror;}
nsz 0ef264
{size_t(*p)(const char*) = strlen;}
nsz 0ef264
{char*(*p)(char*restrict,const char*restrict,size_t) = strncat;}
nsz 0ef264
{int(*p)(const char*,const char*,size_t) = strncmp;}
nsz 0ef264
{char*(*p)(char*restrict,const char*restrict,size_t) = strncpy;}
nsz 0ef264
{char*(*p)(const char*,const char*) = strpbrk;}
nsz 0ef264
{char*(*p)(const char*,int) = strrchr;}
nsz 0ef264
{char*(*p)(int) = strsignal;}
nsz 0ef264
{size_t(*p)(const char*,const char*) = strspn;}
nsz 0ef264
{char*(*p)(const char*,const char*) = strstr;}
nsz 0ef264
{char*(*p)(char*restrict,const char*restrict) = strtok;}
nsz 0ef264
{size_t(*p)(char*restrict,const char*restrict,size_t) = strxfrm;}
nsz f81126
#ifdef _POSIX_C_SOURCE
nsz f81126
T(locale_t)
nsz 0ef264
{char*(*p)(char*restrict,const char*restrict) = stpcpy;}
nsz 0ef264
{char*(*p)(char*restrict,const char*restrict,size_t) = stpncpy;}
nsz 0ef264
{int(*p)(const char*,const char*,locale_t) = strcoll_l;}
nsz 0ef264
{char*(*p)(const char*) = strdup;}
nsz 0ef264
{char*(*p)(int,locale_t) = strerror_l;}
nsz 0ef264
{int(*p)(int,char*,size_t) = strerror_r;}
nsz 0ef264
{char*(*p)(const char*,size_t) = strndup;}
nsz 0ef264
{size_t(*p)(const char*,size_t) = strnlen;}
nsz 0ef264
{char*(*p)(char*restrict,const char*restrict,char**restrict) = strtok_r;}
nsz 0ef264
{size_t(*p)(char*restrict,const char*restrict,size_t,locale_t) = strxfrm_l;}
nsz f81126
#endif
nsz f81126
#ifdef _XOPEN_SOURCE
nsz 0ef264
{void*(*p)(void*restrict,const void*restrict,int,size_t) = memccpy;}
nsz f81126
#endif
nsz f81126
}