SETOUT(5ICD)

NAME
setout - change LDMC output file

SYNOPSIS

setout (file)
char *file;

extern FILE *ll_out;

DESCRIPTION
Setout will change the LDMC output file, to be the file named in its argument. The special name "-" means the standard output, note that this is not always equal to the name of the current control terminal. The default output stream is "stdout".

Before opening the new output stream, the previous one is closed, except when this file is attached to "stdout".

Since only the me function will generate LDM output, only the output file during me is effective. This makes it impossible that the description of a cell is split over more than one output file.

To allow more flexibility in doing i.o., for example to set up pipes etc., the current output stream is available in the external variable ll_out.

SEE ALSO
ldmcintro(5ICD)

DIAGNOSTICS
It is reported when setout can't open file, or when file contains non-printing characters. In these cases, the output will go to stdout.