aboutsummaryrefslogtreecommitdiff
blob: 365396534559677f637415ca9a04405faf133201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define CONFIG HAVE_UNLINKAT
#define FUNC unlinkat
#define SFUNC "unlinkat"
#define FUNC_STR "%i, \"%s\", %x"
#define FUNC_IMP dirfd, path, flags
#define ARG_CNT 3
#define ARG_USE "<dirfd> <path> <flags>"

#define process_args() \
	s = argv[i++]; \
	int dirfd = at_get_fd(s); \
	\
	s = argv[i++]; \
	char *path = s; \
	\
	s = argv[i++]; \
	int flags = at_get_flags(s);

#include "test-skel-0.c"