fs_mkdir()

int  fs_mkdir (const  char  *name_full);

File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN and not FS_CFG_RD_ONLY_EN

Create a directory.

Arguments

name_full

Name of the directory.

Returned Value

0, if the directory is created.

-1, if the directory is not created.

Notes/Warnings

None.

Example

void  App_Fnct (void)
{
    int  err;
    .
    .
    .
    err = fs_mkdir("sd:0:\\data\\old");          /* Make dir. */
    if (err != 0) {
        APP_TRACE_INFO(("Could not make dir."));
    }
   
    .
    .
    .
}