MCPcopy Create free account
hub / github.com/Atmosphere-NX/Atmosphere / FlushFile

Function FlushFile

fusee/program/source/fs/fusee_fs_api.cpp:269–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 }
268
269 Result FlushFile(FileHandle handle) {
270 R_RETURN(TranslateFatFsError(f_sync(GetInternalFile(handle))));
271 }
272
273 Result WriteFile(FileHandle handle, s64 offset, const void *buffer, size_t size, const fs::WriteOption &option) {
274 /* Seek to the offset we're writing at. */

Callers 7

WriteFileFunction · 0.70
SetFileSizeFunction · 0.70
FlushMethod · 0.70
~ScopedFileMethod · 0.50
ProcessRequestMethod · 0.50
DoFsTestsFunction · 0.50

Calls 3

TranslateFatFsErrorFunction · 0.70
GetInternalFileFunction · 0.70
f_syncFunction · 0.50

Tested by 1

DoFsTestsFunction · 0.40