blob: cc5e3defed0af725c57b01ca1b206393c971c515 [file] [log] [blame]
Dmitry V. Levincc2baf32015-12-05 00:01:56 +00001#ifndef HAVE_FSTATAT
2# undef TEST_SYSCALL_NAME
Dmitry V. Levinb0e61152015-12-02 01:02:39 +00003#endif
4
Dmitry V. Levincc2baf32015-12-05 00:01:56 +00005#define TEST_SYSCALL_INVOKE(sample, pst) \
6 fstatat(AT_FDCWD, sample, pst, AT_SYMLINK_NOFOLLOW)
7#define PRINT_SYSCALL_HEADER(sample) \
8 printf("%s(AT_FDCWD, \"%s\", ", TEST_SYSCALL_STR, sample)
9#define PRINT_SYSCALL_FOOTER \
10 puts(", AT_SYMLINK_NOFOLLOW) = 0")
Dmitry V. Levinb0e61152015-12-02 01:02:39 +000011
Dmitry V. Levincc2baf32015-12-05 00:01:56 +000012#include "xstatx.c"