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); }
void close_all(void) { close_kernel(); close_unix(); }