Skip to main content

fclose

Function fclose 

Source
pub unsafe fn fclose(fp: *mut CFile) -> c_int
Expand description

Close a file opened with fopen.

ยงSafety

fp must be a non-null pointer returned by fopen and must not have been closed already.