On Tue, Jan 06, 2004 at 01:51:23AM -0500, Tom Anderson wrote: > The question is, how do you set the EOF indicator without closing the > stream? You can't. > Autoflush? This just calls setvbuf with a mode parameter of _IONBF. It does not change the EOF flag. -Gyepi