[][src]Function linux::syscall::getcwd

pub fn getcwd(buf: &mut [d8]) -> c_int

Retrieves the current working directory.

[argument, buf] The buffer into which the directory will be placed.

[return_value] Returns the length of the current working directory or an error value.

= See also

  • link:man:getcwd(2)