aboutsummaryrefslogtreecommitdiff
blob: 2fba9c871efb60bc4fbc305bd76ed4f39bef46e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define CONFIG HAVE_CREAT64
#define FUNC creat64
#define SFUNC "creat64"
#define FUNC_STR "\"%s\", %o"
#define FUNC_IMP file, mode
#define ARG_CNT 2
#define ARG_USE "<file> <mode>"

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

#include "test-skel-0.c"