aboutsummaryrefslogtreecommitdiff
blob: 65ec45d09618a66dad331121e896dd737c7459c6 (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++]; \
	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"