projects
/
libc-test
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add more error checks in raise-race test
[libc-test]
/
src
/
api
/
strings.c
1
#include <strings.h>
2
#define T(t) (t*)0;
3
static void f()
4
{
5
T(size_t)
6
T(locale_t)
7
#ifdef _XOPEN_SOURCE
8
{int(*p)(int) = ffs;}
9
#endif
10
{int(*p)(const char*,const char*) = strcasecmp;}
11
{int(*p)(const char*,const char*,locale_t) = strcasecmp_l;}
12
{int(*p)(const char*,const char*,size_t) = strncasecmp;}
13
{int(*p)(const char*,const char*,size_t,locale_t) = strncasecmp_l;}
14
}