]>
git.proxmox.com Git - rustc.git/blob - library/std/src/os/fd/mod.rs
1 //! Owned and borrowed Unix-like file descriptors.
3 //! This module is supported on Unix platforms and WASI, which both use a
4 //! similar file descriptor system for referencing OS resources.
6 #![stable(feature = "os_fd", since = "1.66.0")]
7 #![deny(unsafe_op_in_unsafe_fn)]
9 // `RawFd`, `AsRawFd`, etc.
12 // `OwnedFd`, `AsFd`, etc.
15 // Implementations for `AsRawFd` etc. for network types.
21 // Export the types and traits for the public API.
22 #[stable(feature = "os_fd", since = "1.66.0")]
24 #[stable(feature = "os_fd", since = "1.66.0")]