赞
踩
rt
|
linux下有的是库。多google相关教程吧。下面是我找的debian和ubuntu下的库名字。其他发行版的相同的库请自己找。
此外还有查看一个程序包含的函数库文件的命令。还有命令可以查看一个库中包含的函数名称。(ldd,nm就很有用。)
zlib 是实现deflate压缩算法的一个库,该算法是gzip和PKZIP的基础。这个包中 包括了共享的库。
----------------------------
Single library to read/write tar, cpio, pax, zip, iso9660, etc.
The libarchive library provides a flexible interface for reading and
writing streaming archive files such as tar and cpio. The library is
inherently stream-oriented; readers serially iterate through the archive,
writers serially add things to the archive. In particular, note that
there is no built-in support for random access nor for in-place
modification.
libarchive can read at least five tar formats, four cpio formats,
ISO9660 CD/DVD images (including RockRidge extensions), and ZIP
files.
libarchive can write two tar formats (ustar and pax), one cpio format
(odc/POSIX), and two types of shar files (with and without uuencoding).
The bsdtar Debian package, which is the default tar(1) on FreeBSD,
is built using libarchive.
There is also a manpage, tar(5), in libarchive2 that provides
an excellent description of the various tar file formats.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。