Example #1
0
static void cleanup(void)
{
#ifdef USE_X11
    close_x11();	/* call to avoid leaving garbage in the X server's root windows */
#endif
    close_unix();
    shutdown_dev();
    remove(PIDFILE);
}
Example #2
0
File: io.c Project: ebichu/dd-wrt
void close_all(void)
{
    close_kernel();
    close_unix();
}