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

Function ungetc

examples/stdlib.c:3695–3701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3693}
3694
3695static int ungetc(int c, FILE *stream)
3696{
3697 stdio_lock(stream, EOF);
3698 c = ungetc_unlocked(c, stream);
3699 stdio_unlock(stream);
3700 return c;
3701}
3702
3703static size_t fread_unlocked(void *ptr, size_t size, size_t nmemb,
3704 FILE *stream)

Callers 3

test_stdioFunction · 0.85
ungetcMethod · 0.85
unGetCharFunction · 0.85

Calls 1

ungetc_unlockedFunction · 0.85

Tested by 1

test_stdioFunction · 0.68