The header file direct.h contains prototypes for functions that perform operations on directories. The functions are:
chdir() getcwd() mkdir() rmdir()
These functions can: change the current directory, find out what the current directory is, make a new directory and remove a directory.
The functions for reading a directory are very operating system dependent. Their prototypes will be in a different header file.