![]()  | 
   |
| << Previous | Next >> | |
|   |  |
int OpenOutputCompressedFile( ZFILE * ofp, int fn );
Description
- Open an FS2 file for compressed output. This function sets up the LZ compression algorithm window and tree associated with the ZFILE file. The second parameter is the file handle (FS2) of the output file to be written to. Note that this MUST be an FS2 file handle, or the open will fail.
 
- The
 OUTPUT_COMPRESSION_BUFFERSmacro must be defined as a positive non-zero number if compression is being used.PARAMETERs
- ofp
 
- ZFILE file descriptor
 
- fn
 
- FS2 handle of output file
 
Return Value
0: Failure
1: SuccessLibrary
- LZSS.LIB
 See Also
- CloseOutputCompressedFile
 
| Dynamic C Functions | << Previous | Next >> | rabbit.com |