VFCreateDir(W)

C Specification


#include <revolution/vf.h>

typedef s32	VFErr;

VFErr VFCreateDir( const char* dirName );
VFErr VFCreateDirW( 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

Creates a directory. VFCreateDir attempts to create a directory with the last name specified by dirName. Currently, if an invalid directory is found in the path, the target directory is not created, and an error is returned.
In addition, an error is returned if an attempt is made to create an already existing directory.

See Also

VFChangeDir, VFDeleteDir

Revision History

2006/06/23 Release.


CONFIDENTIAL