blob: 34e133989ef0d2837fa238a5b575f1e20ae3b156 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#define CONFIG HAVE_UTIMENSAT
#define FUNC utimensat
#define SFUNC "utimensat"
#define FUNC_STR "%i, \"%s\", %p, %x"
#define FUNC_IMP dirfd, file, times, flags
#define ARG_CNT 2
#define ARG_USE "<file> <times:=NULL>"
#define process_args() \
s = argv[i++]; \
int dirfd = atoi(s); \
\
s = argv[i++]; \
char *file = s; \
\
s = argv[i++]; \
const struct timespec *times = NULL; \
\
s = argv[i++]; \
int flags; \
sscanf(s, "%i", &flags);
#include "test-skel-0.c"
|