1// SPDX-License-Identifier: GPL-2.0
2#define _GNU_SOURCE
3#include <fcntl.h>
4
5int main(int argc, char **argv)
6{
7 splice(0, 0, 1, 0, 1<<30, 0);
8 return 0;
9}
10

source code of linux/tools/testing/selftests/splice/default_file_splice_read.c