unstickpixels.c
static pid_t
xfork(void)
{
	sigset_t set;
	pid_t pid;
	sigfillset(&set);
	sigprocmask(SIG_BLOCK, &set, 0);
	pid = fork();
	if (pid != -1)
		sigprocmask(SIG_UNBLOCK, &set, 0);
	return pid;
}
/**
 * Wrapper for fork(3) that clocks all signals in the parent.
 * 
 * @return  See fork(3).
 */
Wrapper for fork(3) that clocks all signals in the parent.


Wrapper for fork ( 3 ) that clocks all signals in the parent .
static pid_t
xfork(void)
{
	sigset_t set;
	pid_t pid;
	sigfillset(&set);
	sigprocmask(SIG_BLOCK, &set, 0);
	pid = fork();
	if (pid != -1)
		sigprocmask(SIG_UNBLOCK, &set, 0);
	return pid;
}
static pid_t xfork ( void ) { sigset_t set ; pid_t pid ; sigfillset ( & set ) ; sigprocmask ( SIG_BLOCK , & set , 0 ) ; pid = fork ( ) ; if ( pid != -1 ) sigprocmask ( SIG_UNBLOCK , & set , 0 ) ; return pid ; }
Wrapper for fork(3) that clocks all signals in the parent.
Wrapper for fork ( 3 ) that clocks all signals in the parent .