Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!panda!genrad!decvax!mcnc!rti-sel!dg_rtp!throopw From: throopw@dg_rtp.UUCP (Wayne Throop) Newsgroups: comp.lang.c Subject: Re: pipe flushing Message-ID: <721@dg_rtp.UUCP> Date: Mon, 1-Dec-86 11:16:15 EST Article-I.D.: dg_rtp.721 Posted: Mon Dec 1 11:16:15 1986 Date-Received: Tue, 2-Dec-86 03:29:08 EST References: <523@bath63.bath.ac.uk> Lines: 23 Summary: not possible as requested > From: ma6nrr@bath63.bath.ac.uk (Rashbrook) > Does anybody know how to set a pipe to be > flushed at newlines even over execs? Assuming we are talking about the "fmumble" library routines here, this is simply not possible, unless the program to be "exec"ed is rewritten to co-operate with the program which will "exec" it (by recognizing a "flush pipe output" option on its command line, for example). > Even a function so a process can flush a > pipe,which is common to and written by a > forked process,so the original process can > can read it would be useful. If "fflush(3)" isn't what you have in mind, then I haven't the foggiest notion what this means. A specific example would be helpful. -- Sometimes I think the only universal in the computing field is the fetch-execute cycle. --- Alan J. Perlis -- Wayne Throop !mcnc!rti-sel!dg_rtp!throopw