nstd_fs_absolute

Function nstd_fs_absolute 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn nstd_fs_absolute( path: &NSTDStr, ) -> NSTDIOStringResult<'_>
Available on crate feature 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.