aboutsummaryrefslogtreecommitdiff
blob: fd0317746ddba48049e5eff46a6e0b26988dfd1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define FUNC access
#define SFUNC "access"
#define FUNC_STR "\"%s\", %x"
#define FUNC_IMP file, mode
#define ARG_CNT 2
#define ARG_USE "<file> <acc_mode>"

#define process_args() \
	s = argv[i++]; \
	const char *file = f_get_file(s); \
	\
	s = argv[i++]; \
	int mode = access_mode(s);

#include "test-skel-0.c"