retiring gets(3)
Henry Spencer
henry at utzoo.uucp
Thu Nov 17 04:42:38 AEST 1988
In article <8902 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>... In fact they're wrong. I routinely use gets() in
>an utterly safe manner...
Well, "utterly safe" if you're always very careful that part A of your
program preserves the length limits that part B is relying on. Personally
I prefer slightly more robust programming, especially when there's no
significant difference in convenience or efficiency.
--
Sendmail is a bug, | Henry Spencer at U of Toronto Zoology
not a feature. | uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.lang.c
mailing list