Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ttidca.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!cmcl2!philabs!ttidca!davidt From: davidt@ttidca.UUCP (David Terlinden) Newsgroups: net.lang.c Subject: i/o redirection Message-ID: <215@ttidca.UUCP> Date: Tue, 16-Apr-85 10:17:12 EST Article-I.D.: ttidca.215 Posted: Tue Apr 16 10:17:12 1985 Date-Received: Thu, 18-Apr-85 23:41:11 EST Organization: TTI, Santa Monica, CA. Lines: 6 gsc asks about buffering of stdout of execed processes. I say that it's not the fault of the OS but of the stdio library. If the flag field in _iob[1] says to buffer output (the default value), the first output function to stdout will notice this and allocate a buffer. Since _iob is initialized data of the new process, anything you do before the exec has no effect. Can anyone suggest anything other than modifying "putchar()" or "_iob[]"?