Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 1996 17:10:24 -0600 (MDT)
From:      Brandon Gillespie <brandon@glacier.cold.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: "Gets unsafe" message
Message-ID:  <Pine.NEB.3.95.960925170838.24279A-100000@glacier.cold.org>
In-Reply-To: <3.0b24.32.19960925135728.006857c4@central.TanSoft.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
> I don't mind the compliler telling me, but for the library routine to is
> not very nice.  There is a lot of code that uses gets() and uses it in a 
> fashion that 99.99% of the time is ok.

No, it is never ok.  Use fgets().

-Brandon Gillespie




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.960925170838.24279A-100000>