FILE *f = fopen( path, "rb" );
size_t size = 0;
fseek(f,0L,SEEK_END);
size=ftell(f);
fseek(f,0L,SEEK_SET);
void *buf = malloc( size );
fread( buf, 1, size, f ) == size
FILE *f = fopen( path, "rb" );
size_t size = 0;
fseek(f,0L,SEEK_END);
size=ftell(f);
fseek(f,0L,SEEK_SET);
void *buf = malloc( size );
fread( buf, 1, size, f ) == size