#include <unistd.h> int rmdir(const char *dirname);
This function removes directory dirname. The directory must be empty.
Zero if the directory was removed, nonzero on failure.
not ANSI, POSIX
rmdir("/tmp/datadir");
Go to the first, previous, next, last section, table of contents.