fdds_savepr - redirect stdout & stderr to the printout file
SYNOPSIS
#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)
integer function fdds_savepr( )
DESCRIPTION
fdds_savepr() reroutes all stderr and stdout permanently to the
opened print file. This is typically useful, for example, by CM5
programs to force all output to be written to the print file and no
output is written to the terminal. This will keep a job running in
background even if the initiating terminal goes down. All program
output can be checked out in the print file.
The return value is always 0.
SEE ALSO
fdds_openpr Open a 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
fdds_closepr Close printfile
AUTHOR
Jerry Ehlers, BP America (May 2003)