/[avr-libc]/avr-libc/libc/stdio/fclose.c
ViewVC logotype

Diff of /avr-libc/libc/stdio/fclose.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by joerg_wunsch, Tue Sep 6 18:49:15 2005 UTC revision 1.3 by joerg_wunsch, Wed Sep 14 19:04:58 2005 UTC
# Line 40  fclose(FILE *stream) Line 40  fclose(FILE *stream)
40  {  {
41          uint8_t i;          uint8_t i;
42    
43            if (!(stream->flags & __SMALLOC))
44                    /*
45                     * If the stream had not been malloc()ed, this is
46                     * not our business.
47                     */
48                    return 0;
49    
50          /*          /*
51           * The standard streams are only aliases.  So if the stream to           * The standard streams are only aliases.  So if the stream to
52           * be closed is also refered to by a standard stream name,           * be closed is also refered to by a standard stream name,

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26