Click on one of the files below to view it in your browser.

Shift-click to download it.

      Name                    Last modified       Size  Description

[DIR] Parent Directory 05-Jan-2004 08:31 - [   ] atomic_logger.c 21-May-2003 20:40 5k [   ] atomic_logger.h 21-May-2003 20:40 1k [   ] bufferinout.c 21-May-2003 20:40 1k [   ] bufferout.c 21-May-2003 20:40 1k [   ] chainforkopen.c 21-May-2003 20:40 1k [   ] chainforkopenlog.c 21-May-2003 20:40 1k [   ] chainforkopenseek.c 21-May-2003 20:40 1k [   ] chainopenfork.c 21-May-2003 20:40 1k [   ] convertlinux 21-May-2003 20:40 1k [   ] convertlinux.ed 21-May-2003 20:40 1k [   ] convertmac 21-May-2003 20:40 1k [   ] convertmac.ed 21-May-2003 20:40 1k [   ] copy2files.c 21-May-2003 20:40 1k [   ] copy2filestest.c 21-May-2003 20:40 1k [   ] copyfile.c 21-May-2003 20:40 1k [   ] copyfile1.c 20-Sep-2005 06:00 1k [   ] copyfilemain.c 21-May-2003 20:40 1k [   ] fileiofork.c 21-May-2003 20:40 1k [   ] fileioforkline.c 21-May-2003 20:40 1k [   ] forkopen.c 21-May-2003 20:40 1k [   ] makefile 21-May-2003 20:40 5k [   ] monitorfork.c 21-May-2003 20:40 1k [   ] monitorpoll.c 21-May-2003 20:40 2k [   ] monitorpolltest.c 21-May-2003 20:40 1k [   ] monitorselect.c 21-May-2003 20:40 2k [   ] monitorselecttest.c 21-May-2003 20:40 1k [   ] openfork.c 21-May-2003 20:40 1k [   ] process_or_do_work.c 21-May-2003 20:40 1k [   ] process_or_do_work_t..> 21-May-2003 20:40 1k [   ] r_close.c 21-May-2003 20:40 1k [   ] r_read.c 21-May-2003 20:40 1k [   ] r_write.c 20-Mar-2008 09:37 1k [   ] readblock.c 21-May-2003 20:40 1k [   ] readline.c 21-May-2003 20:40 1k [   ] readlinetest.c 21-May-2003 20:40 1k [   ] readtimed.c 21-May-2003 20:40 1k [   ] readtimed1.c 21-May-2003 20:40 2k [   ] readtimedtest.c 21-May-2003 20:40 1k [   ] readwrite.c 21-May-2003 20:40 1k [   ] readwriteblock.c 21-May-2003 20:40 1k [   ] redirect.c 21-May-2003 20:40 1k [   ] restart.c 21-May-2003 20:40 6k [   ] restart.h 21-May-2003 20:40 1k [   ] setblock.c 21-May-2003 20:40 1k [   ] setblocktest.c 21-May-2003 20:40 1k [   ] setnonblock.c 21-May-2003 20:40 1k [   ] simplechainforkopena..> 21-May-2003 20:40 1k [   ] simplecopy.c 21-May-2003 20:40 1k [   ] waitfdtimed.c 21-May-2003 20:40 2k [   ] whichisready.c 21-May-2003 20:40 1k [   ] whichisreadytest.c 21-May-2003 20:40 1k

This file contains information about compiling the programs from Chapter 4
of UNIX Systems Programming.

Under Solaris: no changes needed.

Under Linux:
   Compiling the programs under Linux typically requires that the constant
   _GNU_SOURCE be defined.  Run the convertlinux program once to modify the
   makefile use this constant.

Under Mac OS X:
   The poll function is not implemented in this version of Mac OS.
   Under Mac OS X, the sys/select include file needs the fcntl.h include
   file.  Run the convertmac program once to modify the makefile to remove
   the default compilarion of monitorpolltest and to modify whichisready.c and
   waitfdtimes.c to include fcntl.h before sys/select.h.

If you run the programs on another system and need to make modifications to
make them work, please send email to authors@usp.cs.utsa.edu to let us know
what you did.