zipup.h

来自「给出了 zip 压缩算法的完整实现过程。」· C头文件 代码 · 共 38 行

H
38
字号
/*  Copyright (c) 1990-2005 Info-ZIP.  All rights reserved.  See the accompanying file LICENSE, version 2004-May-22 or later  (the contents of which are also included in zip.h) for terms of use.  If, for some reason, both of these files are missing, the Info-ZIP license  also may be found at:  ftp://ftp.info-zip.org/pub/infozip/license.html*/#ifndef __CYGWIN__#  include <share.h>#endif#ifndef O_RDONLY#  define O_RDONLY   0#endif#ifndef O_BINARY#  define O_BINARY   0#endif#if (defined(_SH_DENYNO) && !defined(SH_DENYNO))#  define SH_DENYNO _SH_DENYNO#endif#if (defined(SH_DENYNO) && !defined(_SH_DENYNO))#  define _SH_DENYNO SH_DENYNO#endif#define fhow         (O_RDONLY|O_BINARY)#define fbad         (-1)typedef int          ftype;#if defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__EMX__)#  define zopen(n,p) sopen(n,p,SH_DENYNO)#elif defined(__CYGWIN__) || defined(__IBMC__)#  define zopen(n,p) open(n,p)#else#  define zopen(n,p) _sopen(n,p,_SH_DENYNO)#endif#define zread(f,b,n) read(f,b,n)#define zclose(f)    close(f)#define zerr(f)      (k == (extent)(-1L))#define zstdin       0

⌨️ 快捷键说明

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