lzw.c

来自「gzip1.2.4源码」· C语言 代码 · 共 27 行

C
27
字号
/* lzw.c -- compress files in LZW format. * This is a dummy version avoiding patent problems. */#ifdef RCSIDstatic char rcsid[] = "$Id: lzw.c,v 0.9 1993/06/10 13:27:31 jloup Exp $";#endif#include "tailor.h"#include "gzip.h"#include "lzw.h"static int msg_done = 0;/* Compress in to out with lzw method. */int lzw(in, out)    int in, out;{    if (msg_done) return ERROR;    msg_done = 1;    fprintf(stderr,"output in compress .Z format not supported\n");    if (in != out) { /* avoid warnings on unused variables */        exit_code = ERROR;    }    return ERROR;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?