aboutsummaryrefslogtreecommitdiff
blob: 918c7bdac74e2665ff210bae1354bcfcd1a7afd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define FUNC truncate
#define SFUNC "truncate"
#define FUNC_STR "\"%s\", %i"
#define FUNC_IMP path, length
#define ARG_CNT 2
#define ARG_USE "<oldpath> <newpath>"

#define process_args() \
	s = argv[i++]; \
	char *path = s; \
	\
	s = argv[i++]; \
	off_t length; \
	sscanf(s, "%i", &length);

#include "test-skel-0.c"