![]() |
![]()
| ![]() |
![]()
NAMEpack_fread - Reads n bytes from the stream. Allegro game programming library. SYNOPSIS#include <allegro.h> long pack_fread(void *p, long n, PACKFILE *f); DESCRIPTIONReads `n' bytes from the stream `f', storing them at the memory location pointed to by `p'. Example:
RETURN VALUEReturns the number of bytes read, which will be less than `n' if EOF is reached or an error occurs. Error codes are stored in errno. SEE ALSOpack_fopen(3), pack_fopen_chunk(3), pack_feof(3), expackf(3)
|