Lines Matching refs:pwritev2
8 * Check various errnos for pwritev2(2).
9 * 1) pwritev2() fails and sets errno to EINVAL if iov_len is invalid.
10 * 2) pwritev2() fails and sets errno to EINVAL if the vector count iovcnt is
12 * 3) pwritev2() fails and sets errno to EOPNOTSUPP if flag is invalid.
13 * 4) pwritev2() fails and sets errno to EFAULT when writing data from invalid
15 * 5) pwritev2() fails and sets errno to EBADF if file descriptor is invalid.
16 * 6) pwritev2() fails and sets errno to EBADF if file descriptor is open for
18 * 7) pwritev2() fails and sets errno to ESPIPE if fd is associated with a pipe.
26 #include "lapi/pwritev2.h"
70 TEST(pwritev2(*tc->fd, tc->name, tc->count, tc->offset, tc->flag));
73 tst_res(TFAIL, "pwritev2() succeeded unexpectedly");
78 tst_res(TPASS | TTERRNO, "pwritev2() failed as expected");
82 tst_res(TFAIL | TTERRNO, "pwritev2() failed unexpectedly, expected %s",