Lines Matching refs:splice
9 * 1) splice() returns -1 and sets errno to EBADF if the file
11 * 2) splice() returns -1 and sets errno to EBADF if the file
13 * 3) splice() returns -1 and sets errno to EBADF if the file
15 * 4) splice() returns -1 and sets errno to EINVAL if target
17 * 5) splice() returns -1 and sets errno to EINVAL if neither
19 * 6) splice() returns -1 and sets errno to ESPIPE if off_in is
21 * 7) splice() returns -1 and sets errno to ESPIPE if off_out is
33 #include "lapi/splice.h"
83 TEST(splice(*(tc->fdin), tc->offin, *(tc->fdout),
87 tst_res(TFAIL, "splice() returned %ld expected %s",
94 "splice() failed unexpectedly; expected: %d - %s",
99 tst_res(TPASS | TTERRNO, "splice() failed as expected");