Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!wuarchive!uunet!mcsun!tuvie!nestroy!usenet From: tom@itc.univie.ac.at (Tom Kovar) Newsgroups: comp.lang.c Subject: Re: fscanf(stderr,"%d",&i); ?!?!? Message-ID: <1991Apr23.180531.2332@nestroy.wu-wien.ac.at> Date: 23 Apr 91 18:05:31 GMT References: <1991Apr2.083400.5511@athena.mit.edu> <1991Apr23.075320.9473@en.ecn.purdue.edu> Sender: usenet@nestroy.wu-wien.ac.at (The Usenet User) Organization: Inst. of Theoretical Chemistry, University of Vienna Lines: 10 In article <1991Apr23.075320.9473@en.ecn.purdue.edu> tenka@en.ecn.purdue.edu (Andy Tenka) writes: >I know I did something wrong here. Could any of you gurus >point out my mistakes and also, could you show me a way to >write a program that takes input from both redirected stdin >and keyboard? Many thanks in advance. > ... I would suppose the simplest way how to read parallely from stdin an from the keoboard would be to open /dev/tty for the keyboard input... Tom