Lines Matching +full:working +full:- +full:directory
8 /// `chdir(path)`—Change the current working directory.
11 /// - [POSIX]
12 /// - [Linux]
15 /// [Linux]: https://man7.org/linux/man-pages/man2/chdir.2.html
17 pub fn chdir<P: path::Arg>(path: P) -> io::Result<()> { in chdir()
21 /// `fchdir(fd)`—Change the current working directory.
24 /// - [POSIX]
25 /// - [Linux]
28 /// [Linux]: https://man7.org/linux/man-pages/man2/fchdir.2.html
31 pub fn fchdir<Fd: AsFd>(fd: Fd) -> io::Result<()> { in fchdir()
35 /// `getcwd()`—Return the current working directory.
37 /// If `reuse` is non-empty, reuse its buffer to store the result if possible.
40 /// - [POSIX]
41 /// - [Linux]
44 /// [Linux]: https://man7.org/linux/man-pages/man3/getcwd.3.html
47 pub fn getcwd<B: Into<Vec<u8>>>(reuse: B) -> io::Result<CString> { in getcwd()
51 fn _getcwd(mut buffer: Vec<u8>) -> io::Result<CString> { in _getcwd()