Lines Matching defs:pipe
14 /// `PIPE_BUF`—The maximum length at which writes to a pipe are atomic.
20 /// [Linux]: https://man7.org/linux/man-pages/man7/pipe.7.html
32 /// `pipe()`—Creates a pipe.
34 /// This function creates a pipe and returns two file descriptors, for the
35 /// reading and writing ends of the pipe, respectively.
41 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/pipe.html
42 /// [Linux]: https://man7.org/linux/man-pages/man2/pipe.2.html
44 pub fn pipe() -> io::Result<(OwnedFd, OwnedFd)> {
45 backend::io::syscalls::pipe()
48 /// `pipe2(flags)`—Creates a pipe, with flags.
50 /// This function creates a pipe and returns two file descriptors, for the
51 /// reading and writing ends of the pipe, respectively.
69 /// `splice(fd_in, off_in, fd_out, off_out, len, flags)`—Transfer data between a file and a pipe.
73 /// must refer to a pipe.
75 /// `off_*` must be `None` if the corresponding fd refers to a pipe.
100 /// `vmsplice(fd, bufs, flags)`—Transfer data between memory and a pipe.
102 /// If `fd` is the write end of the pipe,
103 /// the function maps the memory pointer at by `bufs` to the pipe.
105 /// If `fd` is the read end of the pipe,
106 /// the function writes data from the pipe to said memory.
111 /// it is up to the caller to ensure that the write end of the pipe is placed in `fd`.