⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zio.h

📁 这是一款很好用的工具包
💻 H
字号:
/*    File:   zio.h    Author: Andreas Stolcke    Date:   Wed Feb 15 15:19:44 PST 1995       Description:    Copyright (c) 1994-2005, SRI International.  All Rights Reserved.    RCS ID: $Id: zio.h,v 1.8 2005/12/16 23:30:09 stolcke Exp $*//* *  $Log: zio.h,v $ *  Revision 1.8  2005/12/16 23:30:09  stolcke *  added support for bzip2-compressed files * *  Revision 1.7  2003/02/21 20:18:53  stolcke *  avoid conflict if zopen is already defined in library * *  Revision 1.6  1999/10/13 09:07:13  stolcke *  make filename checking functions public * *  Revision 1.5  1995/06/22 19:58:26  stolcke *  ansi-fied * *  Revision 1.4  1995/06/12 22:56:37  tmk *  Added ifdef around the redefinitions of fopen() and fclose(). * *//*******************************************************************   Copyright 1994 SRI International.  All rights reserved.   This is an unpublished work of SRI International and is not to be   used or disclosed except as provided in a license agreement or   nondisclosure agreement with SRI International. ********************************************************************/#ifndef _ZIO_H#define _ZIO_H#ifdef __cplusplusextern "C" {#endif/* Include declarations files. */#include <stdio.h>/* Avoid conflict with library function */#ifdef HAVE_ZOPEN#define zopen my_zopen#endif/* Constants */#define COMPRESS_SUFFIX   ".Z"#define GZIP_SUFFIX	  ".gz"#define OLD_GZIP_SUFFIX	  ".z"#define BZIP2_SUFFIX	  ".bz2"/* Define function prototypes. */int	stdio_filename_p (const char *name);int	compressed_filename_p (const char *name);int 	gzipped_filename_p (const char *name);int 	bzipped_filename_p (const char *name);FILE *	zopen (const char *name, const char *mode);int	zclose (FILE *stream);/* Users of this header implicitly always use zopen/zclose in stdio */#ifdef ZIO_HACK#define fopen(name,mode)	zopen(name,mode)#define fclose(stream)		zclose(stream)#endif#ifdef __cplusplus}#endif#endif /* _ZIO_H */

⌨️ 快捷键说明

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