lzss_read(3) - Linux man page

Name

lzss_read - Decompresses data using LZSS. Allegro game programming library.

Synopsis

#include <allegro.h>

int lzss_read(PACKFILE *file, LZSS_UNPACK_DATA *dat, int s, unsigned char *buf);

Description

Unpacks from 'dat' into 'buf', until either EOF is reached or 's' bytes have been extracted from 'file'.

Return Value

Returns the number of bytes added to the buffer 'buf'.

See Also

free_lzss_unpack_data(3)