projects
/
libc-test
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5f89956867037db17a34f7dd45ff09b955bb3c94
[libc-test]
/
src
/
api
/
wordexp.c
1
#include <wordexp.h>
2
#define T(t) (t*)0;
3
#define F(t,n) {t *y = &x.n;}
4
#define C(n) switch(n){case n:;}
5
static void f()
6
{
7
T(size_t)
8
{
9
wordexp_t x;
10
F(size_t, we_wordc)
11
F(char **,we_wordv)
12
F(size_t, we_offs)
13
}
14
C(WRDE_APPEND)
15
C(WRDE_DOOFFS)
16
C(WRDE_NOCMD)
17
C(WRDE_REUSE)
18
C(WRDE_SHOWERR)
19
C(WRDE_UNDEF)
20
C(WRDE_BADCHAR)
21
C(WRDE_BADVAL)
22
C(WRDE_CMDSUB)
23
C(WRDE_NOSPACE)
24
C(WRDE_SYNTAX)
25
int(*p_wordexp)(const char*restrict,wordexp_t*restrict,int) = wordexp;
26
void(*p_wordfree)(wordexp_t*) = wordfree;
27
}