Input Line Editing

Bob Larson blarson at skat.usc.edu
Sat Jul 23 23:08:04 AEST 1988


In article <11933 at ncoast.UUCP> allbery at ncoast.UUCP (Brandon S. Allbery) writes:
>???  Why not just a modified version of gets()?

Gets has a major bug: it has no way of detecting the end of buffer
passed to it.  I use fgets(stdin, ... instead.

[I expected someone else to mention this earlier.]


Bob Larson	Arpa: Blarson at Ecla.Usc.Edu	blarson at skat.usc.edu
Uucp: {sdcrdcf,cit-vax}!oberon!skat!blarson
Prime mailing list:	info-prime-request%ais1 at ecla.usc.edu
			oberon!ais1!info-prime-request



More information about the Comp.unix.wizards mailing list