MCPcopy Create free account
hub / github.com/GJDuck/e9patch / fclose

Function fclose

examples/stdlib.c:3297–3303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3295}
3296
3297static int fclose(FILE *stream)
3298{
3299 int result1 = fflush(stream);
3300 int result2 = close(stream->fd);
3301 stdio_stream_free(stream);
3302 return (result1 == 0? result2: result1);
3303}
3304
3305static FILE *freopen(const char *path, const char *mode, FILE *stream)
3306{

Callers 15

runTestFunction · 0.85
test_freadFunction · 0.85
test_stdioFunction · 0.85
realMainFunction · 0.85
emitBinaryFunction · 0.85
parseCSVFunction · 0.85
parseAddrsFunction · 0.85
parseTargetsFunction · 0.85
waitBackendFunction · 0.85
dumpInfoFunction · 0.85
initFunction · 0.85
freopenFunction · 0.85

Calls 3

fflushFunction · 0.85
closeFunction · 0.85
stdio_stream_freeFunction · 0.85

Tested by 3

runTestFunction · 0.68
test_freadFunction · 0.68
test_stdioFunction · 0.68