getcwd
Example: getcwd | File Manipulation Functions |
Returns the name of the current working directory.
char *getcwd( char *path, int numchars);
path | The path name. |
numchars | The maximum number of characters to retrieve. |
For getcwd details, refer to your C language documentation.
Return Values
This function returns zero upon success and (-1) for failure.