2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.


Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

AUP2 Example Source File List

Here is a list of all files with brief descriptions:
SUS_Summary [code]Summary of Standard UNIX Functions, Structures, and Unions
c1/ckstdvers.c [code]Program to display POSIX and X/Open version info [Sec. 1.5 (not in book)]
c1/ckvers.c [code]Program to display POSIX and X/Open version info [Sec. 1.5 (not in book)]
c1/errorhandling.c [code]Error handling examples [Sec. 1.4]
c1/opttest.c [code]Checking for an option. [Sec. 1.5.4]
c1/suvreq.c [code]Asking the system what it has [Sec. 1.5.3]
c1/sysconf.c [code]Using sysconf [Sec. 1.5.5]
c1/syserr.c [code]Syserrmsg [Sec. 1.4.1]
c1/syserr.h [code]header for above [Sec. 1.4.1]
c1/time.c [code]Timestart and timestop [Sec. 1.7.2]
c1/timetst.c [code]Testing timestart and timestop [Sec. 1.7.2]
c1/version.c [code]POSIX System Capabilities [Sec. 1.5.4 (not in book)]
c2/bufio.c [code]Functions for User Buffering [Sec. 2.12.2]
c2/bufio.h [code]header for above [Sec. 2.12.2]
c2/extio.c [code]Writeall and readall [Sec. 2.9, 2.10]
c2/getblksize.c [code]Get block size [Sec. 3.2.3 (not in book)]
c2/syncio.c [code]Synchronized I/O test program [Sec. 2.16.2 (not in book)]
c2/trunc.c [code]Ftruncate test program [Sec. 2.17 (not in book)]
c2/writev.c [code]Writev test program [Sec. 2.15 (not in book)]
c2/x2.c [code]Miscellaneous examples for Chap. 2 [Chap. 2]
c3/aupls.c [code]Ls command [Sec. 3.5, 3.6.5]
c3/bigdir.c [code]Long-pathname test program [Sec. 3.6.4 (not in book)]
c3/cwd.c [code]Getcwd [Sec. 3.6.4]
c3/feed.c [code]Feed (used with sio) [Sec. 3.9.8]
c3/inode.c [code]Display i-node [Sec. 3.2.2]
c3/sio.c [code]Sio (used with feed) [Sec. 3.9.8]
c3/slink.c [code]Symbolic-link test program (uses stat and lstat) [Sec. 3.5.1 (not in book)]
c3/x3a.c [code]Miscellaneous examples for Chap. 3 [Chap. 3]
c4/auptty.c [code]Tty command [Sec. 4.7]
c4/pginfo.c [code]Display session- and process-group-related information [Sec. 4.3.5]
c4/ptutil.c [code]Pseudo-Terminal Library [Sec. 4.10.1]
c4/ptutil.h [code]header for above [Sec. 4.10.1]
c4/record.c [code]Record and Playback Example [Sec. 4.10.2]
c4/scrapp.c [code]Full-screen application (ANSI/VT100) [Sec. 4.8]
c4/scrappc.c [code]Full-screen application (Curses) [Sec. 4.8]
c4/setblock.c [code]Setblock (turn blocking on or off) [Sec. 4.2.2]
c4/setblock.h [code]header for above [Sec. 4.2.2]
c4/streamlist.c [code]Display STREAMS modules [Sec. 4.9]
c4/streamlist.h [code]header for above [Sec. 4.9]
c4/tc_setraw.c [code]Raw terminal I/O [Sec. 4.5.9, 4.5.10]
c4/tc_setraw.h [code]header for above [Sec. 4.5.9, 4.5.10]
c4/x4.c [code]Miscellaneous examples for Chap. 4 [Chap. 4]
c4/x4a.c [code]Tc_setraw test program [Sec. 4.5.10]
c5/builtin.c [code]Asg and set built-in commands (used in shells) [Sec. 5.4]
c5/builtin.h [code]header for above [Sec. 5.4]
c5/fpe.c [code]Generates SIGFPE (used for testing shells) [Sec. 5.10 (not in book)]
c5/limit.c [code]Getrlimit and setrlimit example [Sec. 5.16]
c5/nice.c [code]Nice command [Sec. 5.15]
c5/setenv.c [code]Setenv, getenv, and unsetenv [Sec. 5.2]
c5/setenv.h [code]header for above [Sec. 5.2]
c5/sh0.c [code]Shells, version 1, 2, and 3 [Sec. 5.4, 5.6, 5.10]
c5/statuspr.c [code]Display exit status [Sec. 5.8]
c5/statuspr.h [code]header for above [Sec. 5.8]
c5/t0.c [code]Non-blocking input [Sec. 5.17 (not in book)]
c5/t1.c [code]Thread example [Sec. 5.17 (not in book)]
c5/t2-mtx.c [code]Thread example (background sorting; with mutexes) [Sec. 5.17 (not in book)]
c5/t2.c [code]Thread example (background sorting; no mutexes) [Sec. 5.17 (not in book)]
c5/tx1.c [code]Thread example [Sec. 5.17.1]
c5/tx2.c [code]Thread example (pthread_join) [Sec. 5.17.2]
c5/tx3.c [code]Thread example (mutex) [Sec. 5.17.3]
c5/tx4.c [code]Thread example (mutex) [Sec. 5.17.3]
c5/tx5.c [code]Thread example (condition variable) [Sec. 5.17.4]
c5/tx6.c [code]Thread example (cancellation) [Sec. 5.17.5]
c5/tx7.c [code]Thread example (cleanup handler) [Sec. 5.17.5]
c5/uidgrp.c [code]Display real and effective user and group IDs [Sec. 5.11]
c5/waitid.c [code]Waitid example [Sec. 5.8]
c5/waitpid.c [code]Waitpid example [Sec. 5.8]
c5/x5.c [code]Environment examples [Sec. 5.2]
c5/x5a.c [code]Miscellaneous examples for Chap. 5 [Chap. 5]
c6/pcsync.c [code]Synchronize processes with pipe [Sec. 6.2, 9.2.3 (not in book)]
c6/pcsync.h [code]header for above [Sec. 6.2, 9.2.3 (not in book)]
c6/pcsync_sig.c [code]Synchronize processes with signals [Sec. 6.2, 9.2.3 (not in book)]
c6/pcsync_sig.h [code]header for above [Sec. 6.2, 9.2.3 (not in book)]
c6/piperead.c [code]Piperead (goes with pipewrite in x6.c) [Sec. 6.2.3]
c6/search0.c [code]Editor front-end (unidirectional pipes) [Sec. 6.5]
c6/search1.c [code]Editor front-end (bidirectional pipe) [Sec. 6.6]
c6/sh3.c [code]Real shell (version 4) [Sec. 6.4]
c6/x6.c [code]Miscellaneous examples for Chap. 6 [Chap. 6]
c7/f1.c [code]File locking (bad example) [Sec. 7.11.1]
c7/f2.c [code]File locking (semaphore) [Sec. 7.11.2]
c7/f3.c [code]File locking (lockf) [Sec. 7.11.3]
c7/ipcobjs.c [code]Sys V IPC-object test program [Sec. 7.4 (not in book)]
c7/lockftest.c [code]Lockf test program (mandatory locking) [Sec. 7.11.5]
c7/msg_time.c [code]IPC timing comparisons [Sec. 7.15]
c7/semtest.c [code]
c7/shmex.c [code]Example using shared memory (bad example) [Sec. 7.13.1]
c7/shmex2.c [code]Example using shared memory and semaphore (inefficient) [Sec. 7.13.2]
c7/shmex3.c [code]Example using shared memory and two semaphores [Sec. 7.13.2]
c7/SimpleSem.h [code]Simple Semaphore Interface [Sec. 7.9.2, 7.10.1]
c7/SimpleSemPOSIX.c [code]Simple Semaphore Interface - POSIX implementation [Sec. 7.10.1]
c7/SimpleSemSysV.c [code]Simple Semaphore Interface - System V implementation [Sec. 7.9.2]
c7/smi.h [code]Simple Messaging Interface [Sec. 7.3.2]
c7/smi_fifo.c [code]SMI - FIFOs [Sec. 7.3.3]
c7/smi_fifo.h [code]header for above [Sec. 7.3.3]
c7/smi_fifo_wrap.c [code]SMI wrapper - FIFOs [Sec. 7.3.3]
c7/smi_mq.c [code]SMI - POSIX messages [Sec. 7.7.2]
c7/smi_mq.h [code]header for above [Sec. 7.7.2]
c7/smi_mq_wrap.c [code]SMI wrapper - POSIX messages [Sec. 7.7.2]
c7/smi_msg.c [code]SMI - System V messages [Sec. 7.5.3]
c7/smi_msg.h [code]header for above [Sec. 7.5.3]
c7/smi_msg_wrap.c [code]SMI wrapper - System V messages [Sec. 7.5.3]
c7/smi_pshm.c [code]SMI - POSIX shared memory [Sec. 7.14.2]
c7/smi_pshm.h [code]header for above [Sec. 7.14.2]
c7/smi_pshm_wrap.c [code]SMI wrapper - POSIX shared memory [Sec. 7.14.2]
c7/smi_shm.c [code]SMI - System V shared memory [Sec. 7.13.3]
c7/smi_shm.h [code]header for above [Sec. 7.13.3]
c7/smi_shm_wrap.c [code]SMI wrapper - System V shared memory [Sec. 7.13.3]
c7/smi_skt.c [code]SMI - sockets [Sec. 8.5]
c7/smi_skt.h [code]header for above [Sec. 8.5]
c7/smi_skt_wrap.c [code]SMI wrapper - sockets [Sec. 8.5]
c7/smi_wrap_incl.h [code]Header to generate SMI wrappers [Sec. 7.3.3, 7.5.3, etc.]
c7/smsg.h [code]Header for FIFO example [Sec. 7.2.2]
c7/smsg_client.c [code]FIFO-based client [Sec. 7.2.2]
c7/smsg_client_smi_a.c [code]SMI-based client [Sec. 7.3.2]
c7/smsg_makefifoname.c [code]Make_fifo_name [Sec. 7.2.2]
c7/smsg_server.c [code]FIFO-based server [Sec. 7.2.2]
c7/smsg_server_smi_a.c [code]SMI-based server [Sec. 7.3.2]
c7/smsg_smi.h [code]Header for smsg test program [Sec. 7.3.2]
c7/sstest.c [code]Simple Semaphore test program [Sec. 7.9.2, 7.10.1]
c7/uem.c [code]Unified Event Manager prototype [Sec. 5.18.2]
c7/uem.h [code]header for above [Sec. 5.18.2]
c7/uemtst.c [code]Unified Event Manager test program [Sec. 5.18.2]
c8/adi.c [code]Getaddrinfo test program [Sec. 8.2.6]
c8/br.c [code]More-complete Web Browser [Sec. 8.4.3 (not in book)]
c8/byteorder.c [code]Byte order example [Sec. 8.1.4]
c8/minibr.c [code]Mini Web Browser [Sec. 8.4.3]
c8/miniws.c [code]Mini Web Server [Sec. 8.4.4]
c8/ndb.c [code]Network database examples [Sec. 8.8]
c8/protoent.c [code]Getprotoent example [Sec. 8.8.3 (not in book)]
c8/sktcl.c [code]Inet_addr example [Sec. 8.2.3]
c8/sktex.c [code]Socket example program [Sec. 8.1.1]
c8/sktexdg.c [code]SOCK_DGRAM example program [Sec. 8.6.2]
c8/sktexdgmult.c [code]SOCK_DGRAM example program (multiple clients) [Sec. 8.6.2]
c8/sktexdgmultmsg.c [code]SOCK_DGRAM example program (multiple clients, recvmsg/sendmsg) [Sec. 8.6.3]
c8/sktexm.c [code]Socket example program (multiple clients) [Sec. 8.1.3]
c8/sktopt.c [code]Socket options example [Sec. 8.3]
c8/ssi.c [code]Simple Socket Interface [Sec. 8.4.5]
c8/ssi.h [code]header for above [Sec. 8.4.5]
c8/uname.c [code]
c8/ws.c [code]More-complete Web Server [Sec. 8.4.4 (not in book)]
c9/alarm_test.c [code]Alarm example [Sec. 8.7.1]
c9/ctx.c [code]Swapcontext example [Sec. 9.5.1 (not in book)]
c9/intro.c [code]Introductory signal example (catching) [Sec. 9.1.1]
c9/intro2.c [code]Introductory signal example (ignoring) [Sec. 9.1.1]
c9/jmp.c [code]Longjmp example [Sec. 9.6]
c9/prcssync.c [code]Process-synchronization examples [Sec. 9.2.3]
c9/sighandler.c [code]Signal-handler example [Sec. 9.1.7]
c9/siginfo.c [code]RTS siginfo_t example [Sec. 9.5.1]
c9/sigmin.c [code]Minimal defensive signal handling [Sec. 9.1.8]
c9/sigminthr.c [code]Minimal defensive signal handling using sigwait (bad example) [Sec. 9.2.2]
c9/slp-simple.c [code]Sleep implementation using alarm (naive) [Sec. 9.7.2]
c9/slp.c [code]Sleep implementation using alarm [Sec. 9.7.2]
c9/thrq.c [code]Queued-signals example using threads [Sec. 9.5.5]
c9/tmr.c [code]Timer and clock examples [Sec. 9.7.4, 9.7.5]
common/ec.c [code]Error-checking support functions [Sec. 1.4.2]
common/ec.h [code]header for above [Sec. 1.4.2]
common/logf.c [code]Logging utility [Sec. 1.4.2 (not in book)]
common/logf.h [code]header for above [Sec. 1.4.2 (not in book)]
common/macrostr.c [code]Convert macro values to strings [Sec. 5.8 (not in book)]
common/macrostr.h [code]header for above [Sec. 5.8 (not in book)]
common/mkmacrostr.c [code]Convert macro values to strings - compiler [Sec. 5.8 (not in book)]
common/options.c [code]Check _POSIX_SYNCHRONIZED_IO and _POSIX_ASYNCHRONOUS_IO [Sec. 1.5.4, 2.16.2]
common/options.h [code]header for above [Sec. 1.5.4, 2.16.2]
common/pthreadstub.c [code]Pthread stubs [Sec. 5.17 (not in book)]
include/defs.h [code]Common header file [Sec. 1.6]
include/extio.h [code]Writeall and readall (header) [Sec. 2.9, 2.10]
include/suvreq.h [code]Asking the system what it has (header) [Sec. 1.5.3]
ux/ux.cpp [code]
ux/ux.hpp [code]
ux/uxaio.cpp [code]
ux/uxaio.hpp [code]
ux/uxdir.cpp [code]
ux/uxdir.hpp [code]
ux/uxdirstream.cpp [code]
ux/uxdirstream.hpp [code]
ux/uxerr.cpp [code]
ux/uxerr.hpp [code]
ux/uxexitstatus.cpp [code]
ux/uxexitstatus.hpp [code]
ux/uxfile.cpp [code]
ux/uxfile.hpp [code]
ux/uxnetdb.cpp [code]
ux/uxnetdb.hpp [code]
ux/uxposixipc.cpp [code]
ux/uxposixipc.hpp [code]
ux/uxprocess.cpp [code]
ux/uxprocess.hpp [code]
ux/uxpty.cpp [code]
ux/uxpty.hpp [code]
ux/uxsigset.hpp [code]
ux/uxsocket.cpp [code]
ux/uxsocket.hpp [code]
ux/uxsystem.cpp [code]
ux/uxsystem.hpp [code]
ux/uxsysvipc.cpp [code]
ux/uxsysvipc.hpp [code]
ux/uxterminal.cpp [code]
ux/uxterminal.hpp [code]
ux/uxtestfile.cpp [code]
ux/uxtime.cpp [code]
ux/uxtime.hpp [code]
ux/uxtimetm.cpp [code]
ux/uxtimetm.hpp [code]

Generated on Fri Apr 23 10:56:53 2004 for AUP2 Example Source by doxygen 1.3.1