Home | History | Annotate | Download | only in pwritev

Lines Matching refs:pwritev

21 * 1) pwritev(2) fails if iov_len is invalid.
22 * 2) pwritev(2) fails if the vector count iovcnt is less than zero.
23 * 3) pwritev(2) fails if offset is negative.
24 * 4) pwritev(2) fails when attempts to write from a invalid address
25 * 5) pwritev(2) fails if file descriptor is invalid.
26 * 6) pwritev(2) fails if file descriptor is not open for writing.
27 * 7) pwritev(2) fails if fd is associated with a pipe.
30 * 1) pwritev(2) should return -1 and set errno to EINVAL.
31 * 2) pwritev(2) should return -1 and set errno to EINVAL.
32 * 3) pwritev(2) should return -1 and set errno to EINVAL.
33 * 4) pwritev(2) should return -1 and set errno to EFAULT.
34 * 5) pwritev(2) should return -1 and set errno to EBADF.
35 * 6) pwritev(2) should return -1 and set errno to EBADF.
36 * 7) pwritev(2) should return -1 and set errno to ESPIPE.
42 #include "pwritev.h"
85 TEST(pwritev(*tc->fd, tc->name, tc->count, tc->offset));
87 tst_res(TFAIL, "pwritev() succeeded unexpectedly");
92 tst_res(TPASS | TTERRNO, "pwritev() failed as expected");
96 tst_res(TFAIL | TTERRNO, "pwritev() failed unexpectedly, expected %s",