[comp.os.vms] VAXC SYS$OUTPUT

I7100501@DBSTU1.BITNET (Eckart Meyer) (09/14/87)

>I have been using VAX C version 2.3 to write a program designed to be run
>as a detached process.  It runs fine, but VAX C insists on opening
>SYS$OUTPUT and SYS$ERROR even though the program does not do any output.
>There are no Output functions used in the program and when I run it /detached
>it creates files called SYS$OUTPUT. and SYS$ERROR.  Is there a way around
>this? Is main() doing this? I can close the files with fclose(stdout) and
>fclose(stderr) but that still leaves me with useless files in my directory.

The answer: Use the qualifier /OUTPUT=NL: and /ERROR=NL: with the
RUN command.

-----------------------------------------------------------------------------
Eckart Meyer                            BITNET: I7100501@DBSTU1
Inst. f. Nachrichtentechnik             PHONE:  0531 / 391-2454
Technical University of Braunschweig    ADDR:   Schleinitzstr. 23
Germany                                            3300 Braunschweig
-----------------------------------------------------------------------------