(reuse: B)
| 56 | #[cfg_attr(docsrs, doc(cfg(feature = "alloc")))] |
| 57 | #[inline] |
| 58 | pub fn getcwd<B: Into<Vec<u8>>>(reuse: B) -> io::Result<CString> { |
| 59 | _getcwd(reuse.into()) |
| 60 | } |
| 61 | |
| 62 | #[cfg(all(feature = "alloc", feature = "fs"))] |
| 63 | #[allow(unsafe_code)] |