Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!labrea!jade!ucbvax!UDCVAX.BITNET!UDCSTAFF From: UDCSTAFF@UDCVAX.BITNET Newsgroups: comp.os.vms Subject: VMS C SYS$OUTPUT Message-ID: <8709120102.AA10824@ucbvax.Berkeley.EDU> Date: Fri, 11-Sep-87 13:39:00 EDT Article-I.D.: ucbvax.8709120102.AA10824 Posted: Fri Sep 11 13:39:00 1987 Date-Received: Sat, 12-Sep-87 21:46:21 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 13 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. So it seems that stdout and stderr are opened by default (which makes sense for interactive processes, but I need to find a way to prevent them from being opened. Any suggestions...????