/*
 * Check decoding of pselect6 syscall.
 *
 * Copyright (c) 2015-2021 The strace developers.
 * All rights reserved.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "tests.h"
#include "scno.h"

#ifdef __NR_pselect6

# define SYSCALL_NR __NR_pselect6
# define SYSCALL_NAME "pselect6"

# ifdef __NR_pselect6_time64
#  define pselect6_timespec_t kernel_timespec32_t
# else
#  define pselect6_timespec_t kernel_timespec64_t
# endif

# include "pselect6-common.c"

#else

SKIP_MAIN_UNDEFINED("__NR_pselect6")

#endif
