blob: dcb05760d307591333adb7bde8dbf8bb34c37380 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#define CONFIG HAVE_TRUNCATE64
#define FUNC truncate64
#define SFUNC "truncate64"
#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++]; \
off64_t length; \
sscanf(s, "%i", &length);
#include "test-skel-0.c"
|