blob: f668829c97a31dedf5a754544bc0e104776caba9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#define CONFIG HAVE_SYMLINKAT
#define FUNC symlinkat
#define SFUNC "symlinkat"
#define FUNC_STR "\"%s\", %i, \"%s\""
#define FUNC_IMP oldpath, newdirfd, newpath
#define ARG_CNT 3
#define ARG_USE "<oldpath> <newdirfd> <newpath>"
#define process_args() \
s = argv[i++]; \
char *oldpath = s; \
\
s = argv[i++]; \
int newdirfd = at_get_fd(s); \
\
s = argv[i++]; \
char *newpath = s;
#include "test-skel-0.c"
|