Function nstd_sys::fs::nstd_fs_absolute
source · #[no_mangle]
pub unsafe extern "C" fn nstd_fs_absolute(
path: &NSTDStr
) -> NSTDIOStringResult<'_>Available on crate feature
nstd_fs only.Expand description
Returns the absolute path of a file system item.
Parameters:
const NSTDStr *path- A relative path to the file system item.
Returns
NSTDIOStringResult contents - The absolute version of path, or the I/O operation error code
on failure.
Safety
This operation can cause undefined behavior if path’s data is invalid.