pack_fread(3) - Linux man page
Name
pack_fread - Reads n bytes from the stream. Allegro game programming library.Synopsis
#include <allegro.h>long pack_fread(void *p, long n, PACKFILE *f);
Description
Reads 'n' bytes from the stream 'f', storing them at the memory location pointed to by 'p'. Example:unsigned char buf[256];
...
if (pack_fread(buf, 256, input_file) != 256)
abort_on_error("Truncated input file!");
