src/webcamBlobEstimator.c
static int xioctl(int fh, int request, void* arg) {
	int r;
	do {
		r = ioctl(fh, request, arg);
	} while((r == -1) && (errno == EINTR));
	return r;
}
/*
  Wrapper around ioctl that repeats the calls in case
  they are interrupted by a signal (i.e. restarts) until
  they succeed or fail.
*/
Wrapper around ioctl that repeats the calls in case
they are interrupted by a signal  until
they succeed or fail.
Wrapper around ioctl that repeats the calls in case they are interrupted by a signal until they succeed or fail .
static int xioctl(int fh, int request, void* arg) {
	int r;
	do {
		r = ioctl(fh, request, arg);
	} while((r == -1) && (errno == EINTR));
	return r;
}
static int xioctl ( int fh , int request , void * arg ) { int r ; do { r = ioctl ( fh , request , arg ) ; } while ( ( r == -1 ) && ( errno == EINTR ) ) ; return r ; }
Wrapper around ioctl that repeats the calls in case
they are interrupted by a signal (i.e.
Wrapper around ioctl that repeats the calls in case they are interrupted by a signal ( i . e .