File:  [Apple XNU] / GNUtools / libg++ / libio / cleanup.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:45:53 2018 UTC (8 years, 2 months ago) by root
Branches: MAIN, Apple
CVS tags: HEAD, GNUtools33
GNU tools for NeXTSTEP 3.3

#include "libioP.h"
#if _G_HAVE_ATEXIT
#include <stdlib.h>

typedef void (*voidfunc) _PARAMS((void));

static void _IO_register_cleanup ()
{
  atexit ((voidfunc)_IO_flush_all);
  _IO_cleanup_registration_needed = 0;
}

void (*_IO_cleanup_registration_needed)() = _IO_register_cleanup;
#endif /* _G_HAVE_ATEXIT */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.