Skip to main content

SYS_GETCWD

Constant SYS_GETCWD 

Source
pub const SYS_GETCWD: usize = 442; // 442usize
Expand description

Get the current working directory.

  • buf_ptr: buffer to receive the path string
  • buf_len: size of the buffer

Returns the number of bytes written (excluding null terminator).