On Tue, Jan 25, 2000 at 04:18:05PM +0100, Roman Hodek wrote: > > > This doesn't check the bounds also, isn't it ? > > It is: > > > + fgets (buffer, sizeof(buffer), stdin); > > Note the "sizeof(buffer)" ! > > > And is gets not implemented as fgets (stdin) ? > > Not really. gets() is similar, but cannot check for a buffer overrun > (because it has no SIZE argument), and always works on stdin.
Ok thanks, I wanted to ask you something else, but forgot, ... :((( Friendly, Sven LUTHER