![]() |
![]()
| ![]() |
![]()
NAMEgetwd - get current directory SYNOPSIS#include <u.h>
char* getwd(char *buf, int size) DESCRIPTIONGetwd fills buf with a null-terminated string representing the current directory and returns buf. Getwd places no more than size bytes in the buffer provided. SOURCE/src/lib9/getwd.c SEE ALSODIAGNOSTICSOn error, zero is returned. may be consulted for more information. BUGSTo avoid name conflicts with the underlying system, getwd is a preprocessor macro defined as p9getwd; see
|