.\" Generated by the Allegro makedoc utility .TH lzss_write 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME lzss_write \- Compresses data using LZSS. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int lzss_write(PACKFILE *file, LZSS_PACK_DATA *dat, int size, .B unsigned char *buf, int last); .SH DESCRIPTION Packs `size' bytes from `buf', using the pack information contained in `dat'. The compressed bytes will be stored in `file'. .SH "RETURN VALUE" Returns 0 on success, or EOF if there was an error. .SH SEE ALSO .BR create_lzss_pack_data (3alleg4), .BR free_lzss_pack_data (3alleg4)