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

📄 beocfg.h

📁 压缩解压,是unzip540的升级,这个外国网站摘来的源码,是evb编写.
💻 H
字号:
/*  Copyright (c) 1990-2004 Info-ZIP.  All rights reserved.  See the accompanying file LICENSE, version 2000-Apr-09 or later  (the contents of which are also included in unzip.h) for terms of use.  If, for some reason, all these files are missing, the Info-ZIP license  also may be found at:  ftp://ftp.info-zip.org/pub/infozip/license.html*//*---------------------------------------------------------------------------    BeOS specific configuration section:  ---------------------------------------------------------------------------*/#ifndef __beocfg_h#define __beocfg_h#include <sys/types.h>          /* [cjh]:  This is pretty much a generic  */#include <sys/stat.h>           /* POSIX 1003.1 system; see beos/ for     */#include <fcntl.h>              /* extra code to deal with our extra file */#include <sys/param.h>          /* attributes. */#include <unistd.h>#include <utime.h>#define DIRENT#include <time.h>#ifndef DATE_FORMAT#  define DATE_FORMAT DF_MDY    /* GRR:  customize with locale.h somehow? */#endif#define lenEOL          1#define PutNativeEOL    *q++ = native(LF);#define SCREENSIZE(ttrows, ttcols)  screensize(ttrows, ttcols)#define SCREENWIDTH     80#if (!defined(NO_EF_UT_TIME) && !defined(USE_EF_UT_TIME))#  define USE_EF_UT_TIME#endif#define SET_SYMLINK_ATTRIBS#define SET_DIR_ATTRIB#if (!defined(NOTIMESTAMP) && !defined(TIMESTAMP))#  define TIMESTAMP#endif#define RESTORE_UIDGID#define NO_STRNICMP             /* not in the x86 headers at least */#define INT_SPRINTF#define SYMLINKS#define MAIN main_stub          /* now that we're using a wrapper... *//* Static variables that we have to add to Uz_Globs: */#define SYSTEM_SPECIFIC_GLOBALS \    int created_dir, renamed_fullpath;\    char *rootpath, *buildpath, *end;\    ZCONST char *wildname;\    char *dirname, matchname[FILNAMSIZ];\    int rootlen, have_dirname, dirnamelen, notfirstcall;\    zvoid *wild_dir;/* created_dir, and renamed_fullpath are used by both mapname() and    *//*    checkdir().                                                      *//* rootlen, rootpath, buildpath and end are used by checkdir().        *//* wild_dir, dirname, wildname, matchname[], dirnamelen, have_dirname, *//*    and notfirstcall are used by do_wild().                          */#endif /* !__beocfg_h */

⌨️ 快捷键说明

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