Searched refs:pwritev2 (Results 1 - 12 of 12) sorted by relevance
/third_party/rust/crates/rustix/tests/io/ |
H A D | read_write.rs | 154 use rustix::io::{preadv2, pwritev2, writev, ReadWriteFlags, SeekFrom}; in test_pwritev2() 169 // pwritev2 to append with a 0 offset: don't update the current position. in test_pwritev2() 170 match pwritev2(&foo, &[IoSlice::new(b"world")], 0, ReadWriteFlags::APPEND) { in test_pwritev2() 172 // Skip the rest of the test if we don't have `pwritev2` and `RWF_APPEND`. in test_pwritev2() 178 // pwritev2 to append with a !0 offset: do update the current position. in test_pwritev2() 179 pwritev2(&foo, &[IoSlice::new(b"world")], !0, ReadWriteFlags::APPEND).unwrap(); in test_pwritev2()
|
/third_party/ltp/include/lapi/ |
H A D | pwritev2.h | 18 static inline ssize_t pwritev2(int fd, const struct iovec *iov, int iovcnt, in pwritev2() function
|
/third_party/musl/src/linux/ |
H A D | pwritev2.c | 6 ssize_t pwritev2(int fd, const struct iovec *iov, int count, off_t ofs, int flags) in pwritev2() function
|
/third_party/musl/include/sys/ |
H A D | uio.h | 43 ssize_t pwritev2 (int, const struct iovec *, int, off_t, int);
|
/third_party/ltp/testcases/kernel/syscalls/pwritev2/ |
H A D | pwritev202.c | 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(*t in verify_pwritev2() [all...] |
H A D | pwritev201.c | 8 * Testcase to check the basic functionality of the pwritev2(2). 9 * 1) If the file offset argument is not -1, pwritev2() should succeed 12 * 2) If the file offset argument is -1, pwritev2() should succeed in 22 #include "lapi/pwritev2.h" 60 TEST(pwritev2(fd, wr_iovec, tc->count, tc->write_off, 0)); in verify_pwritev2() 62 tst_res(TFAIL | TTERRNO, "pwritev2() failed"); in verify_pwritev2() 67 tst_res(TFAIL, "pwritev2() wrote %li bytes, expected %zi", in verify_pwritev2() 73 tst_res(TFAIL, "pwritev2() had changed file offset"); in verify_pwritev2() 95 tst_res(TPASS, "pwritev2() wrote %zi bytes successfully " in verify_pwritev2()
|
/third_party/rust/crates/rustix/src/io/ |
H A D | read_write.rs | 14 /// `RWF_*` constants for use with [`preadv2`] and [`pwritev2`]. 161 /// `pwritev2(fd, bufs, offset, flags)`—Writes data, with several options. 168 /// [Linux]: https://man7.org/linux/man-pages/man2/pwritev2.2.html 171 pub fn pwritev2<Fd: AsFd>( in pwritev2() functions 177 backend::io::syscalls::pwritev2(fd.as_fd(), bufs, offset, flags) in pwritev2()
|
H A D | mod.rs | 91 pub use read_write::{preadv2, pwritev2, ReadWriteFlags};
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
H A D | syscalls.rs | 198 pub(crate) fn pwritev2( 218 /// At present, `libc` only has `pwritev2` defined for glibc. On other 225 pub(crate) fn pwritev2(
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | syscalls.rs | 255 pub(crate) fn pwritev2(
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
H A D | mod.rs | 880 // Flags for preadv2/pwritev2 1231 pub fn pwritev2( in pwritev2() functions
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 10496 argument_unavailable_error("pwritev2", "flags"); in os_pwritev_impl() 10508 result = pwritev2(fd, iov, cnt, offset, flags); in os_pwritev_impl()
|
Completed in 23 milliseconds