VFDeleteDir(W)

C Specification


#include <revolution/vf.h>

typedef s32	VFErr;

VFErr VFDeleteDir( const char* dirName );
VFErr VFDeleteDirW( const VFWchar* dirName );

Arguments

dirName The address storing the path and directory name.
Either a full or relative path may be specified.

Return Values

When successful, 0.
When failed, a VFErr other than 0.

Description

Deletes a directory. In the following instances, the directory specified by dirName is not deleted and an error is returned.
* When it is the root directory.
* When it is the current directory.
* When it is the parent directory.
* When a file or directory exists in the directory.
Wild card characters ('*' and '?') cannot be used when specifying the directory name.

See Also

VFCreateDir, VFChangeDir

Revision History

2006/04/26 Release.


CONFIDENTIAL