rmdir NAME rmdir - delete a directory SYNOPSIS int r = rmdir(dirname); char *dirname; FUNCTION delete a directory. The directory must be empty for the deletion to work. On the Amiga this call is equivalent to remove() or unlink(). EXAMPLE #include <assert.h> main() { int r; r = mkdir("T:tmpdir"); assert(r == 0); r = rmdir("T:tmpdir"); assert(r == 0); } INPUTS char *dirname; name of directory to delete RESULTS int r; 0 if successful, non-zero if error