blob: 3a8c997f7f9395e6c06846081c92319e5bd609eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#define FUNC chown
#define SFUNC "chown"
#define FUNC_STR "\"%s\", %i, %i"
#define FUNC_IMP file, uid, gid
#define ARG_CNT 3
#define ARG_USE "<file> <uid> <gid>"
#define process_args() \
s = argv[i++]; \
char *file = s; \
\
s = argv[i++]; \
uid_t uid = atoi(s); \
\
s = argv[i++]; \
gid_t gid = atoi(s);
#include "test-skel-0.c"
|