/// `close(raw_fd)`—Closes a `RawFd` directly, and report any errors returned /// by the OS. /// /// The rustix developers do not intend the existence of this feature to imply /// that anyone should use it. /// /// # Safety /// /// This function takes a `RawFd`, which must be valid before the call, and is /// not valid after the call, even if it fails. #[cfg(feature = "try_close")] pubunsafefn try_close(raw_fd: RawFd) -> crate::io::Result<()> {
backend::io::syscalls::try_close(raw_fd)
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.