Xref: utzoo comp.unix.questions:6431 comp.unix.wizards:7590 comp.lang.c:8927 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!elroy!mahendo!jplgodo!deutsch From: deutsch@jplgodo.UUCP (Michael Deutsch ) Newsgroups: comp.unix.questions,comp.unix.wizards,comp.lang.c Subject: Writing to A NON-Existing File in "C" Message-ID: <9654@jplgodo.UUCP> Date: 6 Apr 88 03:47:17 GMT Distribution: na Organization: Jet Propulsion Labs, Pasadena, CA Lines: 16 Keywords: C program, NON-EXISTING File, flushed results I have a "C" program that records the program results into a file, provided that file already exists. In case the file DOES NOT exist I want the program to function identically but the results should be flushed down the tube, i.e. nowhere, i.e. written to a non-existing file? What sort of "file pointer" or trick should I use to accomplish my goal? Please reply by e-mail, or call me collect : Michael Deutsch (619) 452 - 8649 Thanks