Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!unmvax!ncar!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.lang.c Subject: Re^2: C style, continued Keywords: C style static initialization Message-ID: <1828@solo11.cs.vu.nl> Date: 19 Dec 88 18:51:52 GMT References: <9174@smoke.BRL.MIL> <1816@solo10.cs.vu.nl> <9203@smoke.BRL.MIL> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 12 gwyn@smoke.BRL.MIL (Doug Gwyn ) writes: \In article <1816@solo10.cs.vu.nl> maart@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@cs.vu.nl, mcvax!botter!maart