Hi,
What you are looking for are POSIX functions: opendir - open a directory readdir - read a directory stat, fstat, lstat - get file status remove - delete a name and possibly the file it refers to unlink - remove a directory entry rmdir - remove a directory closedir - close a directory
manoj