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

Function stdio_stream_free

examples/stdlib.c:3223–3228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3221}
3222
3223static void stdio_stream_free(FILE *stream)
3224{
3225 if (stream->buf != NULL && (stream->flags & STDIO_FLAG_OWN_BUF))
3226 free(stream->buf);
3227 free(stream);
3228}
3229
3230static int stdio_parse_mode(const char *mode)
3231{

Callers 1

fcloseFunction · 0.85

Calls 1

freeFunction · 0.85

Tested by

no test coverage detected