Function emerald_std::io::syscall_get_cwd
source · pub unsafe fn syscall_get_cwd(path: &mut [u8]) -> Result<usize, SyscallError>
Expand description
Safety
This function assumes that path
is a valid buffer.
The result will be a string written in the buffer, NULL won’t be written, but the written length will be returned