Lines Matching full:splice
20 * 1) splice() returns -1 and sets errno to EBADF if the file
22 * 2) splice() returns -1 and sets errno to EBADF if the file
24 * 3) splice() returns -1 and sets errno to EBADF if the file
26 * 4) splice() returns -1 and sets errno to EINVAL if target
28 * 5) splice() returns -1 and sets errno to EINVAL if neither
30 * 6) splice() returns -1 and sets errno to ESPIPE if off_in is
32 * 7) splice() returns -1 and sets errno to ESPIPE if off_out is
44 #include "lapi/splice.h"
94 TEST(splice(*(tc->fdin), tc->offin, *(tc->fdout),
98 tst_res(TFAIL, "splice() returned %ld expected %s",
105 "splice() failed unexpectedly; expected: %d - %s",
110 tst_res(TPASS | TTERRNO, "splice() failed as expected");