Your company here ā€” click to reach over 10,000 unique daily visitors

pack_fwrite - Man Page

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'.

Return Value

Returns the number of bytes written, which will be less than n if an error occurs. Error codes are stored in errno.

See Also

pack_fopen(3), pack_fopen_chunk(3), pack_feof(3)

Referenced By


version 4.4.3 Allegro manual