Path: utzoo!attcan!uunet!pyrdc!gmu90x!dstalder From: dstalder@gmu90x.UUCP (Darren Stalder) Newsgroups: comp.lang.c Subject: getpass causes fprintf(stderr... not to be flushed Keywords: getpass, fflush, fprintf Message-ID: <1104@gmu90x.UUCP> Date: 26 May 88 10:44:57 GMT Organization: George Mason University Lines: 21 In one program I am working on, I needed to used getpass. I was getting very frustrated since my error messages were printing out in the wrong places. After I used getpass, if the password was too short then I used fprintf(stderr, ...) to print out a message. Unfortunately, another call to getpass and then an fprintf were needed to printout that message. The message from the latest fprintf just sat out there in stderr somewhere. I tried fflush(stderr) but this didnt work. Could anyone help me? I am using ultrix V2.2. Please use e-mail since I rarely read comp.lang.c. -- Torin/Darren Stalder/Wolf Blessed Internet: dstalder@gmuvax2.gmu.edu Be! Bitnet: dstalder@gmuvax ATTnet: 1-703-352-8124 Hail uucp: multiverse!uunet!pyrdc!gmu90x!dstalder Eris! Snail: PO Box 405/Fairfax, VA 22030/USA DISCLAIMER: I have enough problems getting credit what I do do for work, much less this stuff.