pub unsafe extern "C" fn buffered_file_stream_open(
stream: *mut Stream,
path: *const c_char,
access_mode: FS_AccessMode,
open_mode: FS_OpenMode,
) -> boolExpand description
Opens an existing file or creates a new one.
§Arguments
stream- pointer to file stream object.path- path to fileaccess_mode- access mode from FS_AccessModeopen_mode- open mode from FS_OpenMode
§Returns
True on success, False on failure. You need to close the file even if the open operation failed.