Home
last modified time | relevance | path

Searched refs:FA_CREATE_ALWAYS (Results 1 – 2 of 2) sorted by relevance

/third_party/FatFs/source/
Dff.h560 #define FA_CREATE_ALWAYS 0x08 macro
Dff.c3272 …mode &= FF_FS_READONLY ? FA_READ : FA_READ | FA_WRITE | FA_CREATE_ALWAYS | FA_CREATE_NEW | FA_OPEN… in f_open()
3312 if (mode & (FA_CREATE_ALWAYS | FA_OPEN_ALWAYS | FA_CREATE_NEW)) { in f_open()
3322 mode |= FA_CREATE_ALWAYS; /* File is created */ in f_open()
3331 if (res == FR_OK && (mode & FA_CREATE_ALWAYS)) { /* Truncate it if overwrite mode */ in f_open()
3385 …if (mode & FA_CREATE_ALWAYS) mode |= FA_MODIFIED; /* Set file change flag if created or overwritte… in f_open()