pack_fwrite
Writes n bytes to the stream. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-2)
- Source: allegro4.4
- Report a bug
Writes n bytes to the stream. Allegro game programming library.
#include <allegro.h>
long pack_fwrite(const void *p, long n, PACKFILE *f);
Writes `n' bytes to the stream `f' from memory location pointed to by `p'.
Returns the number of bytes written, which will be less than n if an error occurs. Error codes are stored in errno.
pack_fopen(3alleg4), pack_fopen_chunk(3alleg4), pack_feof(3alleg4)