C Library Functions: File and Directory Management

Function Header File Description
chdir direct.h Changes the current working directory to a specified directory.
_chdrive direct.h Changes the current working drive to a specified drive.
fstat sys/stat.h Gets and stores information about the open file.
_fullpath stdlib.h Gets and stores the full path name of a given partial path.
_getcwd direct.h Gets the full path name of the current working directory.
_getdcwd direct.h Gets the full path name for the current directory of a specified drive.
_getdrive direct.h Returns an integer corresponding to the letter representing the current drive.
_makepath stdlib.h Creates a single path name.
mkdir direct.h Creates a new directory.
rmdir direct.h Deletes a directory.
_splitpath stdlib.h Decomposes a path name into its four components.
stat sys/stat.h Stores information about a file or directory in a structure.


Alphabetical Listing of IBM C and C++ Compilers Functions and Macros