Message-Id: <3.0.16.19971204175506.2f7fbff2@hem1.passagen.se> Date: Thu, 04 Dec 1997 19:37:52 -0500 To: "A. Sinan Unur" From: Peter Palotas Subject: Re: Simple beginner questions Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk >make a habit of setting fp to NULL after closing it. AFAIK, files do not >close themselves. I actually think that the libc exit code does this for you, although it is probably not defined in the ANSI standard that the files should be closed, but DJGPP does this, I think. -- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se -- ***************************************************** * A brief description of DJGPP: * * NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! * *****************************************************