Skip to content

cf_fs_seek

Category: file
GitHub: cute_file_system.h


Sets the current position within a file.

CF_Result cf_fs_seek(CF_File* file, size_t position);
Parameters Description
CF_File The file.
position The read/write position.

Return Value

Returns any errors as a CF_Result.

Remarks

This is an offset from the beginning of the file. The next read or write will happen at this position. Virtual File System.

CF_File
cf_fs_file_exists
cf_fs_read
cf_fs_write
cf_fs_eof
cf_fs_tell
cf_fs_size