Sha256: 28f6970fc1bbc37bb35c84724b59eac436ea7407a4522e18c2bdacb1fdd2edd9
Contents?: true
Size: 384 Bytes
Versions: 47
Compression:
Stored size: 384 Bytes
Contents
use crate::ffi::CString; use crate::{backend, io}; use backend::fd::AsFd; /// `fcntl(fd, F_GETPATH)` /// /// # References /// - [Apple] /// /// [Apple]: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/fcntl.2.html #[inline] pub fn getpath<Fd: AsFd>(fd: Fd) -> io::Result<CString> { backend::fs::syscalls::getpath(fd.as_fd()) }
Version data entries
47 entries across 38 versions & 1 rubygems