Reads bytes from the compressed file until len characters are read, or a newline character is read and transferred to buf, or an end-of-file condition is encountered.
xzgets returns 1 if OK, or 0 in case of error.
file/in "gz" filehandle from xzopen. |
len |
Result |
buf |
file/out |