Next: , Previous: , Up: C library functions   [Index]


getcwd

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.