# HG changeset patch
# User roug
# Date 1033593473 0
# Node ID bea58398bb15042d49602be8c550433bbf4b9a3f
# Parent db7b0da954a72edf805a8c7d5c062085f2a63469
Skeletons for the C Compiler User's Guide, 1983
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/abort.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/abort.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,24 @@
+
+
+Abort
+stop the program and produce a core dump
+
+
+
+
+
+ abort
+
+
+
+
+
+
+Description
+
+This call causes a memory image to be written out to the file
+"core" in the current directory, and then the program exits
+with a status of 1.
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/abs.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/abs.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+abs
+Placeholder
+
+
+
+
+
+ abs
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/access.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/access.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+access
+Placeholder
+
+
+
+
+
+ access
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/asm.appendix
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/asm.appendix Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,9 @@
+
+Relocating Macro Assembler Reference
+
+The error codes are shown in both hexadecimal (first column) and
+decimal (second column). Error codes other than those listed are
+generated by programming languages or user programs.
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/atof.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/atof.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+atof
+Placeholder
+
+
+
+
+
+ atof
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/basic09.appendix
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/basic09.appendix Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,9 @@
+
+Interfacing to Basic09
+
+The error codes are shown in both hexadecimal (first column) and
+decimal (second column). Error codes other than those listed are
+generated by programming languages or user programs.
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/buildman
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/buildman Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,21 @@
+#!/bin/sh
+if [ $# -ne 1 ]; then
+ echo " Usage: buildman commandname"
+ echo " The result is in file r1.html"
+ exit 1
+fi
+#
+cat - > temp$$ <
+
+
+
+
+ ]>
+
+&refentrypage;
+
+wrapper
+docbook2pdf temp$$
+rm temp$$
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/ccguide.docbook
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/ccguide.docbook Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]>
+
+
+ C Compiler User's Guide
+ Updated for the new millenium
+
+
+ Cleglen Publishing Limited
+
+ Cardiff
+
+
+
+
+ 1983
+ Microware Systems Corporation.
+
+
+
+
+All rights reserved.
+
+
+Reproduction of this document, in part or whole, by any means,
+electrical or otherwise, is prohibited, except by written permission
+from Microware Systems Corporation.
+
+The information contained herein is believed to be accurate as of
+the date of publication, however, Microware will not be liable for
+any damages, including indirect or consequential, from use of
+the OS-9 operating system or reliance on the accurace of this
+documentation. The information contained herein is subject to
+change without notice.
+
+
+
+C
+June 1983
+
+
+
+
+
+
+Thw OS-9 C Compiler was written by James McCosh with OS-9
+implementation assistance from Terry Crane and Kim Kempf. The
+Relocatable Assembler, Linker, and Profiler was edited by Wes Camden and
+Ken Kaplan.
+
+
+
+&preface;
+&chap1;
+&chap2;
+&chap3;
+&chap4;
+&errorsapp;
+&phasesapp;
+&basic09app;
+&asmapp;
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/chain.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/chain.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+chain
+Placeholder
+
+
+
+
+
+ chain
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/chap1.chapter
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/chap1.chapter Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,18 @@
+
+The C Compiler System
+
+
+Introduction
+
+OS-9 has been tailored to run on your standard, unmodified &make;
+Computer. To use it you'll need the following things:
+
+
+
+
+Starting the System
+
+To start up OS-9 follow these steps:
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/chap2.chapter
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/chap2.chapter Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,18 @@
+
+Characteristics of Compiled Programs
+
+
+The Object Code Module
+
+OS-9 has been tailored to run on your standard, unmodified &make;
+Computer. To use it you'll need the following things:
+
+
+
+
+Starting the System
+
+To start up OS-9 follow these steps:
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/chap3.chapter
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/chap3.chapter Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,60 @@
+
+C System Calls
+
+This section of the C compiler manual is a guide to the system
+calls available from C programs.
+
+
+It is NOT intended as a definitive description of OS-9 service
+requests as these are described in the OS-9 SYSTEM PROGRAMMER'S
+manual. However, for most calls, enough information is available
+here to enable the programmer to write systems calls into programs
+without looking further.
+
+
+
+System Calls
+
+&abortref;
+&absref;
+&accessref;
+&chainref;
+&chdirref;
+&chmodref;
+&chownref;
+&closeref;
+&crcref;
+&creatref;
+&defdriveref;
+&dupref;
+&exitref;
+&getpidref;
+&getstatref;
+&getuidref;
+&interceptref;
+&killref;
+&lseekref;
+&mknodref;
+&modloadref;
+&munlinkref;
+&os9ref;
+&openref;
+&os9forkref;
+&pauseref;
+&prerrref;
+&readref;
+&sbrkref;
+&setprref;
+&setimeref;
+&setuidref;
+&setstatref;
+&signalref;
+&stacksizeref;
+&strassref;
+&tsleepref;
+&unlinkref;
+&waitref;
+&writeref;
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/chap4.chapter
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/chap4.chapter Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,35 @@
+
+C Standard Library
+
+The Standard Library contains functions which fall into two
+classes: high-level I/O and convenience.
+
+
+
+Function Calls
+&atofref;
+&fflushref;
+&feofref;
+&findstrref;
+&fopenref;
+&freadref;
+&fseekref;
+&getcref;
+&getsref;
+&isalpharef;
+&l3tolref;
+&longjmpref;
+&mallocref;
+&mktempref;
+&putcref;
+&putsref;
+&qsortref;
+&scanfref;
+&setbufref;
+&sleepref;
+&strcatref;
+&systemref;
+&toupperref;
+&ungetcref;
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/chdir.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/chdir.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+chdir
+Placeholder
+
+
+
+
+
+ chdir
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/chmod.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/chmod.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+chmod
+Placeholder
+
+
+
+
+
+ chmod
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/chown.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/chown.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+chown
+Placeholder
+
+
+
+
+
+ chown
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/close.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/close.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+close
+Placeholder
+
+
+
+
+
+ close
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/crc.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/crc.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+crc
+Placeholder
+
+
+
+
+
+ crc
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/creat.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/creat.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+creat
+Placeholder
+
+
+
+
+
+ creat
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/defdrive.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/defdrive.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+defdrive
+Placeholder
+
+
+
+
+
+ defdrive
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/dup.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/dup.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+dup
+Placeholder
+
+
+
+
+
+ dup
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/errors.appendix
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/errors.appendix Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,9 @@
+
+Compiler Generated Error Messages
+
+The error codes are shown in both hexadecimal (first column) and
+decimal (second column). Error codes other than those listed are
+generated by programming languages or user programs.
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/exit.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/exit.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+exit
+Placeholder
+
+
+
+
+
+ exit
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/feof.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/feof.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+feof
+Placeholder
+
+
+
+
+
+ feof
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/fflush.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/fflush.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+fflush
+Placeholder
+
+
+
+
+
+ fflush
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/findstr.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/findstr.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+findstr
+Placeholder
+
+
+
+
+
+ findstr
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/fopen.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/fopen.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+fopen
+Placeholder
+
+
+
+
+
+ fopen
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/fread.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/fread.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+fread
+Placeholder
+
+
+
+
+
+ fread
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/fseek.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/fseek.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+fseek
+Placeholder
+
+
+
+
+
+ fseek
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/getc.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/getc.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+getc
+Placeholder
+
+
+
+
+
+ getc
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/getpid.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/getpid.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+getpid
+Placeholder
+
+
+
+
+
+ getpid
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/gets.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/gets.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+gets
+Placeholder
+
+
+
+
+
+ gets
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/getstat.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/getstat.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+getstat
+Placeholder
+
+
+
+
+
+ getstat
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/getuid.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/getuid.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+getuid
+Placeholder
+
+
+
+
+
+ getuid
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/intercept.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/intercept.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+intercept
+Placeholder
+
+
+
+
+
+ intercept
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/intro.preface
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/intro.preface Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,15 @@
+
+Differences between Versions 1.1 and 1.0
+
+This package contains the OS-9 C Compiler Version 1.1. Many
+improvements and bug fixes have been incorporated since the V1.0
+release. If you are upgrading from V1.0
+
+
+This update...
+
+
+
+The remainder of this notice describes the changes made since V1.0.
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/isalpha.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/isalpha.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+isalpha
+Placeholder
+
+
+
+
+
+ isalpha
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/kill.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/kill.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+kill
+Placeholder
+
+
+
+
+
+ kill
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/l3tol.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/l3tol.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+l3tol
+Placeholder
+
+
+
+
+
+ l3tol
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/longjmp.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/longjmp.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+longjmp
+Placeholder
+
+
+
+
+
+ longjmp
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/lseek.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/lseek.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+lseek
+Placeholder
+
+
+
+
+
+ lseek
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/makefile Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,47 @@
+SRC=ccguide
+STYLESHEET=docbook-utils.dsl
+
+PREFACE=intro.preface
+CHAPTERS=chap1.chapter chap2.chapter chap3.chapter chap4.chapter
+STDLIB= atof.refentry fflush.refentry feof.refentry findstr.refentry \
+ fopen.refentry fread.refentry fseek.refentry getc.refentry \
+ gets.refentry isalpha.refentry l3tol.refentry longjmp.refentry \
+ malloc.refentry mktemp.refentry putc.refentry puts.refentry \
+ qsort.refentry scanf.refentry setbuf.refentry sleep.refentry \
+ strcat.refentry system.refentry toupper.refentry ungetc.refentry
+
+APPS=asm.appendix basic09.appendix errors.appendix phases.appendix
+
+SYSCALL= abort.refentry abs.refentry access.refentry chain.refentry \
+ chdir.refentry chmod.refentry chown.refentry close.refentry \
+ crc.refentry creat.refentry defdrive.refentry dup.refentry \
+ exit.refentry getpid.refentry getstat.refentry getuid.refentry \
+ intercept.refentry kill.refentry lseek.refentry mknod.refentry \
+ modload.refentry munlink.refentry open.refentry os9fork.refentry \
+ os9.refentry pause.refentry prerr.refentry printf.refentry \
+ read.refentry sbrk.refentry setime.refentry setpr.refentry \
+ setstat.refentry setuid.refentry signal.refentry stacksize.refentry \
+ strass.refentry tsleep.refentry unlink.refentry wait.refentry \
+ write.refentry
+
+SUPPORT=$(PREFACE) $(CHAPTERS) $(APPS) $(STDLIB) $(SYSCALL)
+
+all: $(SRC).pdf
+
+$(SRC).pdf: $(SRC).docbook $(SUPPORT)
+ docbook2pdf -d docbook-utils-a4.dsl#print $(SRC).docbook
+
+$(SRC).ps: $(SRC).docbook
+ docbook2ps -d docbook-utils-a4.dsl#print $(SRC).docbook
+# docbook2ps -d $(STYLESHEET) $(SRC).docbook
+
+$(SRC).html: $(SRC).docbook
+ rm -f *.htm *.html
+# jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(SRC).docbook
+# collateindex.pl -p -o index.docbook HTML.index
+ docbook2html -d docbook-utils-a4.dsl#html $(SRC).docbook
+
+clean:
+ rm -f *.htm *.html $(SRC).pdf $(SRC).ps
+print: $(SRC).ps
+ psnup -2 $(SRC).ps | lpr
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/malloc.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/malloc.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+malloc
+Placeholder
+
+
+
+
+
+ malloc
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/mknod.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/mknod.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+mknod
+Placeholder
+
+
+
+
+
+ mknod
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/mktemp.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/mktemp.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+mktemp
+Placeholder
+
+
+
+
+
+ mktemp
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/modload.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/modload.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+modload
+Placeholder
+
+
+
+
+
+ modload
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/munlink.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/munlink.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+munlink
+Placeholder
+
+
+
+
+
+ munlink
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/open.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/open.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+open
+Placeholder
+
+
+
+
+
+ open
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/os9.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/os9.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+os9
+Placeholder
+
+
+
+
+
+ os9
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/os9fork.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/os9fork.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+os9fork
+Placeholder
+
+
+
+
+
+ os9fork
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/pause.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/pause.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+pause
+Placeholder
+
+
+
+
+
+ pause
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/phases.appendix
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/phases.appendix Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,9 @@
+
+Compiler Phase Command Lines
+
+The error codes are shown in both hexadecimal (first column) and
+decimal (second column). Error codes other than those listed are
+generated by programming languages or user programs.
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/prerr.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/prerr.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+prerr
+Placeholder
+
+
+
+
+
+ prerr
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/printf.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/printf.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,51 @@
+
+
+
+printf
+fprintf
+sprintf
+formatted output
+
+
+
+
+
+
+#include <stdio.h>
+
+
+ printf
+ char *control
+ ..
+
+
+
+ fprintf
+ FILE *fp
+ char *control
+ ...
+
+
+
+ sprintf
+ char *string
+ char *control
+ ...
+
+
+
+
+
+Description
+
+Thse three functions are used to place numbers and strings on
+the output in formatted, human readable form.
+
+
+Fprintf places its output on the file "fp", printf on the
+standard output, and sprintf in the buffer pointed to by
+"string". NOTE that it is the user's responsibility to ensure
+that this buffer is large enough.
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/putc.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/putc.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+putc
+Placeholder
+
+
+
+
+
+ putc
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/puts.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/puts.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+puts
+Placeholder
+
+
+
+
+
+ puts
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/qsort.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/qsort.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+qsort
+Placeholder
+
+
+
+
+
+ qsort
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/read.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/read.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+read
+Placeholder
+
+
+
+
+
+ read
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/sbrk.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/sbrk.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+sbrk
+Placeholder
+
+
+
+
+
+ sbrk
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/scanf.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/scanf.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+scanf
+Placeholder
+
+
+
+
+
+ scanf
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/setbuf.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/setbuf.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+setbuf
+Placeholder
+
+
+
+
+
+ setbuf
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/setime.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/setime.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+setime
+Placeholder
+
+
+
+
+
+ setime
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/setpr.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/setpr.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+setpr
+Placeholder
+
+
+
+
+
+ setpr
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/setstat.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/setstat.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+setstat
+Placeholder
+
+
+
+
+
+ setstat
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/setuid.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/setuid.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+setuid
+Placeholder
+
+
+
+
+
+ setuid
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/signal.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/signal.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+signal
+Placeholder
+
+
+
+
+
+ signal
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/sleep.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/sleep.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+sleep
+Placeholder
+
+
+
+
+
+ sleep
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/stacksize.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/stacksize.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+stacksize
+Placeholder
+
+
+
+
+
+ stacksize
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/strass.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/strass.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+strass
+Placeholder
+
+
+
+
+
+ strass
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/strcat.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/strcat.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+strcat
+Placeholder
+
+
+
+
+
+ strcat
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/system.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/system.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+system
+Placeholder
+
+
+
+
+
+ system
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/toupper.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/toupper.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+toupper
+Placeholder
+
+
+
+
+
+ toupper
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/tsleep.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/tsleep.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+tsleep
+Placeholder
+
+
+
+
+
+ tsleep
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/ungetc.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/ungetc.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+ungetc
+Placeholder
+
+
+
+
+
+ ungetc
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/unlink.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/unlink.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+unlink
+Placeholder
+
+
+
+
+
+ unlink
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/wait.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/wait.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+wait
+Placeholder
+
+
+
+
+
+ wait
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+
diff -r db7b0da954a7 -r bea58398bb15 docs/ccguide/write.refentry
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/ccguide/write.refentry Wed Oct 02 21:17:53 2002 +0000
@@ -0,0 +1,22 @@
+
+
+write
+Placeholder
+
+
+
+
+
+ write
+ type arg1
+
+
+
+
+
+Description
+
+Placeholder
+
+
+