kernel_interface (char *device)
kernel_interface (struct kernel_args *args)
kernel_interface (char *device){     int fd;     fd = open (device, O_RDWR);     if (fd < 0)	 arla_err (1, ADEBERROR, errno, "open %s", device);     kernel_fd = fd;     arla_warnx(ADEBKERNEL, "Arla: selecting on fd: %d", fd);     for (;;) {	  fd_set readset;	  int ret;	  	  FD_ZERO(&readset);	  FD_SET(fd, &readset);	  ret = IOMGR_Select (fd + 1, &readset, NULL, NULL, NULL); 	  if (ret < 0)	      arla_warn (ADEBKERNEL, errno, "select");	  else if (ret == 0)	      arla_warnx (ADEBKERNEL,			  "Arla: select returned with 0. strange.");	  else if (FD_ISSET(fd, &readset)) {	      	      if (process_message (fd))		  arla_errx (1, ADEBKERNEL, "error processing message");	  }     }}