blob: ba0fcca2777f6dda18642bf4751a8c541478abc5 (
plain) (
tree)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) International Business Machines Corp., 2007
* Copyright (c) 2014 Cyril Hrubis <chrubis@suse.cz>
*/
#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 */
|