Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Code Block
languagecpp
int  fs_mkdir (const  char  *name_full);

...

1110012
HTML Table
summary
classPlain_Table
Table Row (tr)
Table Cell (td)
Anchor
1110012


File

...

...

Called from

...

Code enabled by

...

fs_api.

...

c

...

Application

...

FS_CFG_API_EN and not FS_CFG_RD_ONLY_EN

...

Create a directory. Anchor11047551104755

Arguments

Anchor10921601092160name_full Anchor11408121140812

Name of the directory.

...

Returned Value

Anchor112306111230610, if the directory is created. Anchor11230621123062

-1, if the directory is not created. Anchor11230571123057

Notes/Warnings

Anchor10921661092166None. Anchor10921671092167

Example

...

Code Block

...

void { int err; . . . err = fs_mkdir(“sd

{
    int  err;
    .
    .
    .
    err = fs_mkdir("sd:0:\\data\\
old”
old");          /* Make dir. */
if

    if (err != 0)
{
 {
        APP_TRACE_INFO((
“Could
"Could not make dir.
"));
} . . . }tr

    }
   
    .
    .
    .
}
HTML Table
summary
classCode_Listing
Table Row (tr)
Table Cell (td)
rowspan16
Anchor
11229871122987
languagecpp
void  App_Fnct (void)
Anchor
11229891122989
Anchor
11229911122991
Anchor
11229931122993
Anchor
11229951122995
Anchor
11229971122997
Anchor
11230011123001
Anchor
11230031123003
Anchor
11230051123005
Anchor
11230071123007
Anchor
11230091123009
Anchor
11230111123011
Anchor
11230131123013
Anchor
11230151123015
Anchor
11230171123017
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)