Lines Matching refs:result
415 int result;
437 result = pthread_create( &thread, NULL, local_thread, &td );
440 if ( result != 0 ) {
441 DBG( 1, "pthread_create() failed with %d\n", result );
491 SANE_Pid result = pid;
509 DBG(2, "* result = %d (%p)\n", stat, (void*)status );
510 result = pid;
527 result = waitpid( pid, &ls, 0 );
528 if((result < 0) && (errno == ECHILD)) {
530 result = pid;
532 stat = eval_wp_result( pid, result, ls );
533 DBG(2, "* result = %d (%p)\n", stat, (void*)status );
538 return result;
551 int ls, stat, result;
556 result = waitpid( pid, &ls, WNOHANG );
558 stat = eval_wp_result( pid, result, ls );