mfsHMkDir
Syntax
s32 mfsHMkDir(const u8* path, u16 attr)

Arguments

*path   Directory name
attr   Attribute

Return value

Error

Function

Creates directory

Description

This function creates a directory for the path name specified by path.

Main errors

MFS_ERR_NO Normal termination
MFS_ERR_DEVICE Device error
An error occurred in an internally called Leo function.
Since a Leo function error is stored in the variable mfsError, check this variable to perform processing.
MFS_ERR_PROTECT Write protected
The file attribute is write protected, or the volume attribute is write protected, or the parent directory is write protected.