delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/04/14:01:34

Message-Id: <3.0.16.19971204175506.2f7fbff2@hem1.passagen.se>
Date: Thu, 04 Dec 1997 19:37:52 -0500
To: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
From: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>
Subject: Re: Simple beginner questions
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0

>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! *
*****************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019