usr.sbin/lpr/lpd/printjob.c
/*
 * Check to make sure there have been no errors and that both programs
 * are in sync with eachother.
 * Return non-zero if the connection was lost.
 */
Check to make sure there have been no errors and that both programs
are in sync with eachother.
Return non-zero if the connection was lost.
Check to make sure there have been no errors and that both programs are in sync with eachother . Return non - zero if the connection was lost .
static char
response()
{
	char resp;
	if (read(pfd, &resp, 1) != 1) {
		syslog(LOG_INFO, "%s: lost connection", printer);
		return(-1);
	}
	return(resp);
}
static char response ( ) { char resp ; if ( read ( pfd , & resp , 1 ) != 1 ) { syslog ( LOG_INFO , " " , printer ) ; return ( -1 ) ; } return ( resp ) ; }
Check to make sure there have been no errors and that both programs
 are in sync with eachother.
Check to make sure there have been no errors and that both programs are in sync with eachother .