예제 #1
0
void	slct_key_escape(t_select *slct, int *pfd)
{
	(void)slct;
	dup2(pfd[1], 1);
	write(1, "", 1);
	proper_exit(EXIT_SUCCESS);
}
예제 #2
0
파일: pgboard.c 프로젝트: UIKit0/picogui
/*
 * Handler for TERM signal.
 */
void sig_handler (int sig)
{
  proper_exit ();
  _exit (1);
}