Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Oct 1995 11:48:56 -0700
From:      "Justin T. Gibbs" <gibbs@freefall.FreeBSD.org>
To:        olsenc@ichips.intel.com
Cc:        questions@freebsd.org
Subject:   Re: If not gets(), then what? 
Message-ID:  <199510021848.LAA06268@aslan.cdrom.com>
In-Reply-To: Your message of "Mon, 02 Oct 1995 11:14:13 PDT." <9510021814.AA35311@dtt034.intel.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Hello:
>
>I have a program that uses gets(), and FreeBSD complains about it.
>I read the manpage on gets(), and it says it's dangerous, but yet
>it doesn't mention any alternatives!
>
>Suggestions, recommendations, testimonials, confessions?

Use fgets().

>Btw, FreeBSD 2.0.5 RELEASE is rock solid.  Very nice job, you guys!
>It was nice to finally get rid of Linux.

:-)

>
>Thanks,
>
>-Clint

--
Justin T. Gibbs
===========================================
  Software Developer - Walnut Creek CDROM
  FreeBSD: Turning PCs into workstations
===========================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510021848.LAA06268>