3 getwd \- get current directory
10 char* getwd(char *buf, int size)
15 with a null-terminated string representing the current directory
22 bytes in the buffer provided.
24 .B /sys/src/libc/9sys/getwd.c
29 On error, zero is returned.
31 may be consulted for more information.
33 Although the name returned by
35 is guaranteed to be the path used to reach the directory,
36 if the name space has changed underfoot, the name may be