aboutsummaryrefslogtreecommitdiff
blob: 2bb02911c5a586d8702b773e8de371470fdc5cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#define FUNC lchown
#define SFUNC "lchown"
#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++]; \
	const char *file = f_get_file(s); \
	\
	s = argv[i++]; \
	uid_t uid = atoi(s); \
	\
	s = argv[i++]; \
	gid_t gid = atoi(s);

#include "test-skel-0.c"