Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!rutgers!att!cbnews!lvc From: lvc@cbnews.ATT.COM (Lawrence V. Cipriani) Newsgroups: comp.lang.c Subject: Re: Substitute for gets() Summary: C trivia Message-ID: <3909@cbnews.ATT.COM> Date: 9 Feb 89 14:19:45 GMT References: <721@hscfvax.harvard.edu> <1989Feb8.223554.27192@utzoo.uucp> Reply-To: lvc@cbnews.ATT.COM (Lawrence V. Cipriani) Organization: AT&T Bell Laboratories Lines: 8 In article <1989Feb8.223554.27192@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes: >Printf() was an experiment that worked; The printf we have today is not the same as the original (pre K&R) printf, its first argument was a file descriptor. I think the file descriptor was dropped from printf when fprintf and FILEs were invented. -- Larry Cipriani, att!cbnews!lvc or lvc@cbnews.att.com swtch(); /* no deposit, no return */