// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) International Business Machines Corp., 2007 * Copyright (c) 2014 Cyril Hrubis */ #ifndef VMSPLICE_H #define VMSPLICE_H #include "config.h" #include "lapi/syscalls.h" #include "lapi/iovec.h" #if !defined(HAVE_VMSPLICE) ssize_t vmsplice(int fd, const struct iovec *iov, unsigned long nr_segs, unsigned int flags) { return tst_syscall(__NR_vmsplice, fd, iov, nr_segs, flags); } #endif #endif /* VMSPLICE_H */