[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


rmdir

Delete a directory or folder.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <unistd.h>
int rmdir(const char *path);
Parameters:

Parameters for this facility are:

path  
const char *  
The pathname of the directory being -removed  

Remarks:

The rmdir() function removes the directory (folder) specified by the argument.

Return:

If successful, rmdir() returns zero. If unsuccessful, rmdir() returns negative one and sets errno.

See Also:

"mkdir"

"errno"

For example of rmdir() usage:
Refer to"Example of chdir() usage.".


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000