blob: 28fbdc9682e7dc443628c424ee967d6c948f5cf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#define FUNC rename
#define SFUNC "rename"
#define FUNC_STR "\"%s\", \"%s\""
#define FUNC_IMP oldpath, newpath
#define ARG_CNT 2
#define ARG_USE "<path>(old) <path>(new)"
#define process_args() \
s = argv[i++]; \
char *oldpath = s; \
\
s = argv[i++]; \
char *newpath = s;
#include "test-skel-0.c"
|