Skip to content

cf_fs_open_file_for_read

Category: file
GitHub: cute_file_system.h


Opens a file for reading.

CF_File* cf_fs_open_file_for_read(const char* virtual_path);
Parameters Description
virtual_path The virtual path to the file.

Return Value

Returns a CF_File pointer representing the file.

Remarks

If you just want some basic information about the file (such as it's size or when it was created), you can use cf_fs_stat instead. Virtual File System.

CF_File
CF_Stat
cf_fs_create_file
cf_fs_open_file_for_write
cf_fs_close