Re^2: C style, continued

Maarten Litmaath maart at cs.vu.nl
Tue Dec 20 04:51:52 AEST 1988


gwyn at smoke.BRL.MIL (Doug Gwyn ) writes:

\In article <1816 at solo10.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) writes:
\>So use fgets() instead of gets(), Doug? :-)

\That has nothing to do with the topic.

Ask Guy Harris and he'll probably tell you that using fgets() is defensive
programming, just like the moral of your contribution.
-- 
fcntl(fd, F_SETFL, FNDELAY):          |Maarten Litmaath @ VU Amsterdam:
      let's go weepin' in the corner! |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.lang.c mailing list