FreeBSD/usr.sbin/pmcstat/pmcstat.c
/*
 * At exit handler for top mode
 */
At exit handler for top mode
At exit handler for top mode
void
pmcstat_topexit(void)
{
	if (!args.pa_toptty)
		return;
	clrtoeol();
	refresh();
	endwin();
}
void pmcstat_topexit ( void ) { if ( ! args . pa_toptty ) return ; clrtoeol ( ) ; refresh ( ) ; endwin ( ) ; }
At exit handler for top mode
At exit handler for top mode
/*
	 * Shutdown ncurses.
	 */