Path: utzoo!utgpu!attcan!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.lang.c Subject: Re: C style, continued Keywords: C style static initialization Message-ID: <1816@solo10.cs.vu.nl> Date: 15 Dec 88 19:52:30 GMT References: <9174@smoke.BRL.MIL> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 11 gwyn@smoke.BRL.MIL (Doug Gwyn ) writes: \The apparent moral is [...] to design \utility programs with the thought that they should be \serially reusable. That way if they ever become subroutines \(or repeating slaves like the one I had) you already have \them in shape for the task. So use fgets() instead of gets(), Doug? :-) -- fcntl(fd, F_SETFL, FNDELAY): |Maarten Litmaath @ VU Amsterdam: let's go weepin' in the corner! |maart@cs.vu.nl, mcvax!botter!maart