apue.2e

所属分类:Linux/Unix编程
开发工具:C/C++
文件大小:280KB
下载次数:14
上传日期:2009-08-14 16:20:39
上 传 者byd2006
说明:  unix环境高级编程配套源码,非常全面,可以直接在虚拟机上编译运行。
(unix source supporting high-level programming environment, a very comprehensive and can be compiled in a virtual machine is running.)

文件列表:
apue.2e\advio\catgetmsg.c (628, 2005-05-24)
apue.2e\advio\devzero.c (1061, 2005-05-24)
apue.2e\advio\freebsd.mk (137, 2005-05-28)
apue.2e\advio\linux.mk (145, 2005-05-26)
apue.2e\advio\macos.mk (135, 2005-05-26)
apue.2e\advio\mcopy.c (1044, 2005-05-24)
apue.2e\advio\nonblockw.c (590, 2005-05-24)
apue.2e\advio\pendlock.c (2203, 2005-05-24)
apue.2e\advio\solaris.mk (147, 2005-05-27)
apue.2e\advio (0, 2009-07-31)
apue.2e\call\call.c (765, 2005-05-29)
apue.2e\call\call.h (506, 2005-05-29)
apue.2e\call\escape.c (1202, 2005-05-29)
apue.2e\call\freebsd.mk (514, 2005-05-28)
apue.2e\call\linux.mk (512, 2005-05-29)
apue.2e\call\loop.poll.c (1530, 2005-05-30)
apue.2e\call\macos.mk (512, 2005-05-26)
apue.2e\call\main.c (1320, 2005-05-29)
apue.2e\call\put.c (1418, 2005-05-29)
apue.2e\call\solaris.mk (539, 2005-05-27)
apue.2e\call\take.c (1904, 2005-05-29)
apue.2e\call\takeput.c (1142, 2005-05-29)
apue.2e\call (0, 2009-07-31)
apue.2e\calld\calld.h (3931, 2005-05-30)
apue.2e\calld\childdial.c (1614, 2005-05-30)
apue.2e\calld\cliargs.c (1111, 2005-05-29)
apue.2e\calld\client.c (1717, 2005-05-29)
apue.2e\calld\ctlstr.c (511, 2005-05-29)
apue.2e\calld\debug.c (701, 2005-05-29)
apue.2e\calld\devfile.c (1774, 2005-05-30)
apue.2e\calld\dialfile.c (1488, 2005-05-30)
apue.2e\calld\expectstr.c (2107, 2005-05-29)
apue.2e\calld\freebsd.mk (1083, 2005-05-28)
apue.2e\calld\linux.mk (1095, 2005-05-29)
apue.2e\calld\lock.c (1932, 2005-05-29)
apue.2e\calld\loop.c (5060, 2005-05-29)
apue.2e\calld\macos.mk (1096, 2005-05-26)
apue.2e\calld\main.c (752, 2005-05-29)
apue.2e\calld\request.c (1823, 2005-05-29)
apue.2e\calld\sendstr.c (1721, 2005-05-29)
... ...

Read the file called DISCLAIMER. Some source changes needed to be made after the book went out for the first printing. I forgot to make corresponding changes in the source tree on the system used to develop the book. The changes are summarized below. 1. lib/recvfd.c and sockets/recvfd.c - needed sys/uio.h on Mac OS X 2. lib/sendfd.c and sockets/sendfd.c - needed sys/uio.h on Mac OS X 3. stdio/buf.c - added code for Mac OS X 4. threadctl/suspend.c - changed wait to waitloc to avoid symbol definition clash on Solaris 5. include/apue.h - FreeBSD compiles work better if we rely on the default system settings. Solaris needed a different XOPEN_SOURCE definition and also a CMSG_LEN definition. To build the source, edit the Make.defines.* file for your system and set WKDIR to the pathname of the tree containing the source code. Then just run "make". It should figure out the system type and build the source for that platform automatically. If you are running on a system other than FreeBSD, Linux, Mac OS X, or Solaris, you'll need to modify the makefiles to include the settings for your system. Also, you'll probably need to modify the source code to get it to build on a different operating system. The example source was compiled and tested using FreeBSD 5.2.1, Linux 2.4.22, Mac OS X 10.3, and Solaris 9. For FAQs, updated source code, and the lost chapter, see http://www.apuebook.com. Please direct questions, suggestions, and bug reports to sar@apuebook.com. Steve Rago May 30, 2005

近期下载者

相关文件


收藏者