www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/08/03:10:42

Message-ID: <3AA73B7C.E5551C0E@earthlink.net>
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
X-Mailer: Mozilla 4.76 [en] (Win95; U)
X-Accept-Language: en,zh-CN,fr,de-CH,ru
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: question
References: <JA8AAAAABrrLhgABYQABlXwdgctU AT magnet DOT mt> <3AA6E632 DOT C521F4C1 AT user DOT rose DOT com>
Lines: 7
Date: Thu, 08 Mar 2001 07:55:13 GMT
NNTP-Posting-Host: 209.246.68.180
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread1.prod.itd.earthlink.net 984038113 209.246.68.180 (Wed, 07 Mar 2001 23:55:13 PST)
NNTP-Posting-Date: Wed, 07 Mar 2001 23:55:13 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

April wrote:

> if you only want to skip the rest of the stdin, might not gets() be more useful
> and generic?

gets() is a bug waiting to happen.  Never use it.  fgets() should do
quite well.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019