|
||
char *getcwd(char *buf, int length)
char *buf; // A pointer to a character buffer int length; // An integer value
|
|
|
Synopsis |
#include "silver.h"
The getcwd function retrieves the current working directory
|
|
Parameters |
buf is a character buffer to hold the current working directory length is the maximum length of the path in characters
|
|
Return Value |
getcwd returns a pointer to buf if successful, and NULL otherwise
|
|
See Also |
|