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