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

📄 readme

📁 zlib压缩原码
💻
字号:
	ZLIBC -	Uncompressing C Library (For Linux and SunOs)				by	               Alain Knaff 1993-1999 Zlibc is a preloadable shared object that allows executables touncompress the datafiles that they need on the fly. No kernel patch,no recompilation of these executables and no recompilation of thelibraries is needed. This package overrides the "open" function (and other system callfunctions) in the shared library. This package uses the LD_PRELOAD/LD_LIBRARY_PATH mechanism toredirect the dynamic linker to use the relevant functions out ofuncompress.o instead of the shared library. Thus, it should work withevery release of the shared library. (An older, not recommended way to use zlibc is to have it patch thejumptable. This is only available for a.out on Linux.)How it works:============= Usually, programs don't make system calls directly, but instead calla function which does them. To open a file, first the "open" functionis called, and then this function makes the actual syscall.  Thispackage patches the "open" function and other related functions. With the zlibc, if the "open" system call fails because the filedoesn't exist, the "open" function constructs the filename of acompressed file by appending .gz to the filename supplied by the userprogram. If this compressed file exists, it is opened and piped troughgunzip(1), and the descriptor of the read end of this pipe is returnedto the caller. For certain extensions, the .gz file is first uncompressed into atemporary file, and a read descriptor for this file is passed to thecaller. This is necessary if the caller wants to call lseek on thedescriptor or mmap it. A description of data files for which this isnecessary can be given in the configuration files /usr/lib/zlibrc and~/.zlibrc. See zlibrc(5) for a detailed description of the syntax ofthese configuration files.Further Documentation:====================== The most up to date documentation is the texinfo documentation. * To generate a printable copy, run the following commands:    ./configure; make dvi; dvips zlibc.dvi * To generate a html copy,  run:     ./configure; make html   A premade html copy can be found at:    http://www.tux.org/pub/knaff/zlibc/zlibc_toc.html * To generate an info copy (browsable using emacs' info mode), run:     ./configure; make infoThis doc looks most pretty when printed or as html.  Indeed, in theinfo version certain examples are difficult to read due to the quotingconventions in info. Manpages are less up to date and probably less readable as well. There is also a sample configuration file called zlibrc.sample. Thecompiled-in defaults are fairly complete, so normally you don't needto use the run-time compilation. (The zlibrc.sample file reflectsroughly the compiled-in defaults.) The file CAVEATS describes the limitations of this package. The file BUGS describes the bugs of this package. The file FAQ contains frequently asked questions and answers. It isregularily updated on http://zlibc.linux.lu/FAQ.html Have fun,~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Alain L. Knaff					               alain@linux.lu   

⌨️ 快捷键说明

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