Searched refs:FA_CREATE_ALWAYS (Results 1 – 3 of 3) sorted by relevance
375 if (f_open(&fv, argv[1], FA_WRITE | FA_CREATE_ALWAYS)) in main()473 if (f_open(&fv, argv[1], FA_WRITE | FA_CREATE_ALWAYS)) in main()
300 #define FA_CREATE_ALWAYS 0x08 macro
2469 mode &= FA_READ | FA_WRITE | FA_CREATE_ALWAYS | FA_OPEN_ALWAYS | FA_CREATE_NEW; in f_open()2489 if (mode & (FA_CREATE_ALWAYS | FA_OPEN_ALWAYS | FA_CREATE_NEW)) { in f_open()2497 mode |= FA_CREATE_ALWAYS; /* File is created */ in f_open()2508 if (res == FR_OK && (mode & FA_CREATE_ALWAYS)) { /* Truncate it if overwrite mode */ in f_open()2538 if (mode & FA_CREATE_ALWAYS) /* Set file change flag if created or overwritten */ in f_open()