headers/V4L2cam.h
inline int xioctl(int fd, int req, void* pArgs)
	{
		// ioctl returns error codes
		int errCode = 0;

		// keep calling ioctl until result is obtained
		do errCode = ioctl(fd, req, pArgs);
		while(-1 == errCode && EINTR == errno);

		return errCode;
	}
// wrapper for ioctl function
// only this class needs access
wrapper for ioctl function
only this class needs access
wrapper for ioctl function only this class needs access
inline int xioctl(int fd, int req, void* pArgs)
	{
		int errCode = 0;
		do errCode = ioctl(fd, req, pArgs);
		while(-1 == errCode && EINTR == errno);
		return errCode;
	}
inline int xioctl ( int fd , int req , void * pArgs ) { int errCode = 0 ; do errCode = ioctl ( fd , req , pArgs ) ; while ( -1 == errCode && EINTR == errno ) ; return errCode ; }
wrapper for ioctl function
only this class needs access
wrapper for ioctl function only this class needs access
// ioctl returns error codes // keep calling ioctl until result is obtained