📄 compress_files.c
字号:
#include <stdio.h>#include <strings.h>#include <stdlib.h>#include <vicNl.h>static char vcid[] = "$Id: compress_files.c,v 3.2 1999/05/17 23:12:47 vicadmin Exp $";void compress_files(char string[])/********************************************************************** compress_files.c Keith Cherkauer September 10, 1997 This subroutine compresses the file "string" using a system call.**********************************************************************/{ char command[MAXSTRING]; /** uncompress and open zipped file **/#if VERBOSE fprintf(stderr,"zipping \"%s\".\n",string);#endif sprintf(command,"gzip -f %s &",string); system(command);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -