Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!bellcore!faline!thumper!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.unix.questions Subject: Re: end of file characters and open file descriptors Message-ID: <8629@alice.UUCP> Date: 30 Dec 88 01:56:31 GMT References: <1345@cod.NOSC.MIL> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 15 In article <1345@cod.NOSC.MIL>, waagen@cod.NOSC.MIL (Don E. Waagen) writes: -> -> I'm trying to have two processes communicate via a pipe (stdout), like -> -> A | B -> -> but with a small difference. Process A will never die (i.e. the connection -> will never be closed). What I would like to do is have the fread and getchar() -> calls of process B sense or think that it is seeing the pipe close (i.e. an EOF -> character returned by the calls) without closing the connection. Sorry, but it's completely impossible in most systems. -- --Andrew Koenig ark@europa.att.com