-
iov_len = strlen(buf3) }, }; if (
writev(STDOUT_FILENO, bufs, sizeof(bufs) / sizeof(bufs[0])) == -1) { perror("
writev()"); exit(EXIT_FAILURE); } return...
- sendfile, sendfile64; splice; tee; vmsplice; process_vm_readv; process_vm_
writev; copy_file_range; raw
sockets with
packet mmap or AF_XDP. Some of them are...
- kqueue() (BSD) pdfork() (kFreeBSD) dirfd() fileno() read(), write() readv(),
writev() pread(), pwrite() recv(), send() recvfrom(), sendto() recvmsg(), sendmsg()...
- or the
cache needs to be flushed, all the
blocks are p****ed
directly to
writev() to
flush them in a
single syscall. This
means a
single copy into userspace...