www.delorie.com/djgpp/doc/libc-2.01/libc_539.html   search  
Go to the first, previous, next, last section, table of contents.


rmdir

Syntax

#include <unistd.h>

int rmdir(const char *dirname);

Description

This function removes directory dirname. The directory must be empty.

Return Value

Zero if the directory was removed, nonzero on failure.

Example

rmdir("/tmp/datadir");


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997