fdds_closepr - close a print file
SYNOPSIS
#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)
integer function fdds_closepr()
DESCRIPTION
fdds_closepr writes a 'NORMAL TERMINATION' message to the
console if no error messages have been printed via fdds_prterr,
otherwise, an 'ABNORMAL TERMINATION' message will be written.
The program will terminate with an exit() call with 0 or non-zero if
any errors were detected. If the print file has been opened, the
message will also be written into it, the print file will be closed
and the console message will include the program name.
The routine will never return.
EXAMPLES
integer ier
...
ier=fdds_closepr()
SEE ALSO
fdds_openpr Open a printfile
fdds_savepr Redirect to printfile
fdds_prthdr Print header
fdds_sprintf Print to string
fdds_prtmsg Print a message
fdds_prtcon Print to console
fdds_prterr Print error message
fdds_errors Query errors
fdds_info Control printing
AUTHOR
Jerry Ehlers, BP America (May 2003)