Use __fcloseall instead of fclose with a NULL stream.
/* Definitions of global stdio data structures.
/* Definitions of global stdio data structures.
-Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+Copyright (C) 1991, 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
void
DEFUN_VOID(_cleanup)
{
void
DEFUN_VOID(_cleanup)
{
- (void) fclose ((FILE *) NULL);
}
text_set_element (__libc_atexit, _cleanup);
}
text_set_element (__libc_atexit, _cleanup);
/* Definitions of global stdio data structures.
/* Definitions of global stdio data structures.
-Copyright (C) 1991, 1993 Free Software Foundation, Inc.
+Copyright (C) 1991, 1993, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
void
DEFUN_VOID(_cleanup)
{
void
DEFUN_VOID(_cleanup)
{
- (void) fclose((FILE *) NULL);
/* Definitions of global stdio data structures.
/* Definitions of global stdio data structures.
-Copyright (C) 1991, 1995 Free Software Foundation, Inc.
+Copyright (C) 1991, 1995, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
void
DEFUN_VOID(_cleanup)
{
void
DEFUN_VOID(_cleanup)
{
- (void) fclose((FILE *) NULL);