MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / File_Create_Personal

Function File_Create_Personal

src/file.c:865–871  ·  view source on GitHub ↗

* Create a file on the disk. * * @param filename The filename to create. */

Source from the content-addressed store, hash-verified

863 * @param filename The filename to create.
864 */
865void File_Create_Personal(const char *filename)
866{
867 uint8 index;
868
869 index = _File_Open(SEARCHDIR_PERSONAL_DATA_DIR, filename, FILE_MODE_WRITE);
870 if (index != FILE_INVALID) File_Close(index);
871}
872
873/**
874 * Reads length bytes from filename into buffer.

Callers 2

Mouse_SetMouseModeFunction · 0.85

Calls 2

_File_OpenFunction · 0.85
File_CloseFunction · 0.85

Tested by

no test coverage detected