MCPcopy Index your code
hub / github.com/GJDuck/e9patch / fread

Function fread

examples/stdlib.c:3742–3748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3740}
3741
3742static size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream)
3743{
3744 stdio_lock(stream, 0);
3745 size_t result = fread_unlocked(ptr, size, nmemb, stream);
3746 stdio_unlock(stream);
3747 return result;
3748}
3749
3750static int fseek(FILE *stream, long offset, int whence)
3751{

Callers 2

test_freadFunction · 0.85
test_stdioFunction · 0.85

Calls 1

fread_unlockedFunction · 0.85

Tested by 2

test_freadFunction · 0.68
test_stdioFunction · 0.68