blob: 4e8b89c294d91ed29b270c8076943fbca172a573 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma GCC push_options
#pragma GCC optimize("-fno-isolate-erroneous-paths-dereference,-fno-isolate-erroneous-paths-attribute")
#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 4
#define ARG_USE "<dirfd> <file> <times> <atflags>"
#define process_args() \
s = argv[i++]; \
int dirfd = at_get_fd(s); \
\
s = argv[i++]; \
const char *file = f_get_file(s); \
\
s = argv[i++]; \
const struct timespec *times = parse_timespec(s); \
\
s = argv[i++]; \
int flags = at_get_flags(s);
#include "test-skel-0.c"
#pragma GCC pop_options
|