]> granicus.if.org Git - strace/blob - tests/fstatfs64.c
80530dafa2778ad8b009ea79feed341b8be6d4ad
[strace] / tests / fstatfs64.c
1 /*
2  * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  */
7
8 #include "tests.h"
9 #include <asm/unistd.h>
10
11 #ifdef __NR_fstatfs64
12
13 # define SYSCALL_ARG_FMT                "%d"
14 # define SYSCALL_ARG(file, desc)        (desc)
15 # define SYSCALL_NR                     __NR_fstatfs64
16 # define SYSCALL_NAME                   "fstatfs64"
17 # include "xstatfs64.c"
18
19 #else
20
21 SKIP_MAIN_UNDEFINED("__NR_fstatfs64")
22
23 #endif