Expand description
Syscalls and operations related to the current process
Functionsยง
- chdir
- Changes the current work dir to
path - getcwd
- Retrieves the current work dir
- syschdir
- Changes the current working directory to the path
bufwith lengthbuf_len(expects given buffer to be utf-8) - sysgetcwd
- Gets the current working directory and puts it in
cwd_bufwith lengthcwd_buf_lenifdest_lenis not null, it will be set to the length of the cwd if the cwd is too long to fit incwd_buf, the syscall will returnErrorStatus::Generic(1) the cwd is currently maximumally 1024 bytes