aboutsummaryrefslogtreecommitdiff
blob: 73c6a1821e3957f43d9f2b2a637a12878ce79676 (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++]; \
	char *file = s; \
	\
	s = argv[i++]; \
	uid_t uid = atoi(s); \
	\
	s = argv[i++]; \
	gid_t gid = atoi(s);

#include "test-skel-0.c"