mouse.mfd = -1;
freedev(int sig){   int save_errno = errno;  /*    *  close the device, when a USR1 signal is received.   *  Tipically used by an X server so it can open the device for it's    *  own purpose.    */  close(mouse.mfd);  sigpause(0);  errno = save_errno;}