Subversion Repositories Kolibri OS

Compare Revisions

No changes between revisions

Regard whitespace Rev 1881 → Rev 1882

/programs/develop/libraries/menuetlibc/src/libc/ansi/stdio/stdiohk.c
0,0 → 1,18
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include <stdio.h>
#include <libc/file.h>
#include <libc/local.h>
 
static void fcloseall_helper(FILE *f)
{
fflush(f);
if (fileno(f) > 2)
fclose(f);
}
 
void __stdio_cleanup_proc(void)
{
_fwalk(fcloseall_helper);
}
 
void (*__stdio_cleanup_hook)(void) = __stdio_cleanup_proc;
Property changes:
Added: svn:executable
+*
\ No newline at end of property