Next: getenv, Previous: getchar, Up: C library functions [Index]
getcwd Function#include <stdio.h> String new myString; getcwd (myString, FILENAME_MAX);
Note: The argument myString must already be initialized
to hold the entire directory path. If in doubt, use getCwd
(class DirectoryStream) instead. See DirectoryStream.