MCPcopy Create free account
hub / github.com/Singular/Singular / libread

Function libread

Singular/libparse.cc:3351–3361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3349}
3350
3351int libread(FILE* f, char* buf, int max_size)
3352{ int rc;
3353
3354 offset = ftell(f);
3355 rc = myfread( buf, 1, max_size, f );
3356 #if YYLPDEBUG >2
3357 printf("fread: %d of %d\n", rc, max_size);
3358 #endif
3359 yylp_buffer_start = buf;
3360 return rc;
3361}
3362
3363extern "C" {
3364 int yylpwrap()

Callers

nothing calls this directly

Calls 1

myfreadFunction · 0.85

Tested by

no test coverage detected