blob: 1e52c60e7c0ece8c9ff10ab96561de7a977ffd55 (
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 "<path>(old) <dirfd>(new) <path>(new)"
#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"
|