#include <unistd.h> char *getcwd(char *buffer, int size);
getcwd
finds the pathname of the working OpenEdition directory.
buffer
is the buffer in which this information is stored. The
size of buffer
must be large enough to hold the pathname and a
terminating null. size
is the number of characters in the
buffer area.
getcwd
returns a pointer to the buffer if successful and
a NULL pointer if not successful.
getcwd
is called in a program that was not compiled using
the posix
compiler option, the
returned directory name includes an "hfs:"
style prefix.
chdir
.
chdir
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.