PPRINT.CPP - Pretty PRINTer
A Q & D program to use the PRINTER and SPOOLER objects to Pretty Print
C source.
Function
|
main
|
Include file
|
PPRINT.CPH
|
Prototype
|
void main( int argc , char *argv[] )
|
Remarks
|
Program entry point: expected command line input -
PPRINT file_name [ file_name ... ]
If PPRINT is linked with the WILDARGS.OBJ it will then support wildcard
expansion in the file names provided on the command line.
|
Function
|
local_exit
|
Include file
|
PPRINT.CPH
|
Prototype
|
void local_exit( int exit_code )
|
Remarks
|
Master program exit catcher. All fatal library errors will also come here.
|
Function
|
final_exit_cleanup
|
Include file
|
PPRINT.CPH
|
Prototype
|
void final_exit_cleanup( int exit_code )
|
Remarks
|
Do final image-rundown cleanup here.
|
Function
|
cntl_c_handler
|
Include file
|
PPRINT.CPH
|
Prototype
|
void cntl_c_handler( int error_code )
|
Remarks
|
Catch Cntl C so we can exit via exit() and get a full file flush
and close on any open files as well as any local rundown.
|
Function
|
report_fatal_error
|
Include file
|
PPRINT.CPH
|
Prototype
|
void report_fatal_error( char *msg )
|
Remarks
|
Dump the user's error message to stderr and exit.
|
Table of Contents
Function Index
generated on 08 February 1998 - 14:44:27
© 1998 Tierra del Fuego Ltd.
|