FatFS
FA_CREATE_ALWAYS
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
FA_CREATE_ALWAYS
FA_CREATE_ALWAYS macro
Syntax
Show:
Summary
Declaration
from
ff.h:405
#define
FA_CREATE_ALWAYS
0x08
Examples
References
from
examples
Code
Location
#define
FA_CREATE_ALWAYS
0x08
ff.h:405
mode
&=
FF_FS_READONLY
?
FA_READ
:
FA_READ
|
FA_WRITE
|
FA_CREATE_ALWAYS
|
FA_CREATE_NEW
|
FA_OPEN_ALWAYS
|
FA_OPEN_APPEND
;
ff.c:3750
if
(
mode
&
(
FA_CREATE_ALWAYS
|
FA_OPEN_ALWAYS
|
FA_CREATE_NEW
)
)
{
ff.c:3768
mode
|=
FA_CREATE_ALWAYS
;
/* File is created */
ff.c:3777
if
(
res
==
FR_OK
&&
(
mode
&
FA_CREATE_ALWAYS
)
)
{
/* Truncate the file if overwrite mode */
ff.c:3786
if
(
mode
&
FA_CREATE_ALWAYS
)
mode
|=
FA_MODIFIED
;
/* Set file change flag if created or overwritten */
ff.c:3838
res
|=
FA_CREATE_ALWAYS
;
vfs_fat.c:309
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out