Lines Matching +full:threads +full:- +full:posix
3 //! a type-safe API, rustix makes them all separate functions so that they
19 /// - [POSIX]
20 /// - [Linux]
22 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html
23 /// [Linux]: https://man7.org/linux/man-pages/man2/fcntl.2.html
26 pub fn fcntl_getfd<Fd: AsFd>(fd: Fd) -> io::Result<FdFlags> { in fcntl_getfd()
33 /// - [POSIX]
34 /// - [Linux]
36 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html
37 /// [Linux]: https://man7.org/linux/man-pages/man2/fcntl.2.html
40 pub fn fcntl_setfd<Fd: AsFd>(fd: Fd, flags: FdFlags) -> io::Result<()> { in fcntl_setfd()
48 /// POSIX guarantees that `F_DUPFD_CLOEXEC` will use the lowest unused file
51 /// threads or in libraries.
54 /// - [POSIX]
55 /// - [Linux]
57 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html
58 /// [Linux]: https://man7.org/linux/man-pages/man2/fcntl.2.html
62 pub fn fcntl_dupfd_cloexec<Fd: AsFd>(fd: Fd, min: RawFd) -> io::Result<OwnedFd> { in fcntl_dupfd_cloexec()
69 /// POSIX guarantees that `F_DUPFD` will use the lowest unused file descriptor
71 /// as file descriptors may be unexpectedly allocated on other threads or in
75 /// - [POSIX]
76 /// - [Linux]
78 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html
79 /// [Linux]: https://man7.org/linux/man-pages/man2/fcntl.2.html
83 pub fn fcntl_dupfd<Fd: AsFd>(fd: Fd, min: RawFd) -> io::Result<OwnedFd> { in fcntl_dupfd()