Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!caip!brl-adm!brl-smoke!smoke!VERACSD@usc-isi.arpa From: VERACSD@usc-isi.arpa Newsgroups: net.unix Subject: Redirecting i/o streams Message-ID: <4476@brl-smoke.ARPA> Date: Thu, 9-Oct-86 10:38:50 EDT Article-I.D.: brl-smok.4476 Posted: Thu Oct 9 10:38:50 1986 Date-Received: Fri, 10-Oct-86 01:24:26 EDT Sender: news@brl-smoke.ARPA Lines: 11 I am writing a micro-shell based on Bach's discussion in "Design of the Unix Operating System" (pp. 233-235). I want to compare his algorithms with the source code. How do I go about finding it? (I am using using 4.3 BSD, and may be able to access Xinu source as well). Also, how does one go about redirecting the standard i/o streams (i.e. stdin, stdout & stderr) in C to a null device? I want to locally bind their vals to a null device. Advance thanks, ck