MCPcopy Create free account
hub / github.com/WheretIB/nullc / File__Close_void_ref__

Function File__Close_void_ref__

NULLC/translation/std_file_bind.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 nullcThrowError("Cannot open file.");
37}
38void File__Close_void_ref__(File * file)
39{
40 fclose((FILE*)file->id);
41 file->flag = 0;
42 file->id = NULL;
43}
44int File__Opened_int_ref__(File * file)
45{
46 return !!(file->flag & FILE_OPENED);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected