From: "Ara.T.Howard" Date: 2005-09-17T08:06:25+09:00 Subject: Re: [RCR] IO#clearerr On Sat, 17 Sep 2005, Tanaka Akira wrote: > In article , > "Ara.T.Howard" writes: > >> but i still can't write past EOF. i want to keep some output pipes open and >> simply send EOF down them (close, clearerr) to indicate no more data. any >> thought on that? > > Try it in C. I think it doesn't work. it sure doesn't seem to. but, from the man page: ... DESCRIPTION The function clearerr clears the end-of-file and error indicators for the stream pointed to by stream. The function feof tests the end-of-file indicator for the stream pointed to by stream, returning non-zero if it is set. The end-of-file indicator can only be cleared by the function clearerr. ... sure sounds like it should. back to researching ;-( regards. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================