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

Function fgets

examples/stdlib.c:3654–3660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3652}
3653
3654static char *fgets(char *s, int size, FILE *stream)
3655{
3656 stdio_lock(stream, NULL);
3657 char *result = fgets_unlocked(s, size, stream);
3658 stdio_unlock(stream);
3659 return result;
3660}
3661
3662static int getc(FILE *stream)
3663{

Callers

nothing calls this directly

Calls 1

fgets_unlockedFunction · 0.85

Tested by

no test coverage detected