Error ("hpcMouseGetEvents read"); FatalError ("Could not read from mouse");
hpcError ("hpcMouseGetEvents read"); hpcFatalError (("Could not read from mouse"));
hpcMouseGetEvents (pPriv, pNumEvents, pAgain)    hpcPtrPrivPtr pPriv;    int*	pNumEvents;    Bool*	pAgain;{    int fd;    int	nBytes;	    /* number of bytes of events available. */    static hpcEvent evBuf[MAXEVENTS];   /* Buffer for hpcEvents */    fd = pPriv->fd;    if ((nBytes = read (fd, (char *)evBuf, sizeof(evBuf))) == -1) {	if (errno == EWOULDBLOCK) {	    *pNumEvents = 0;	    *pAgain = FALSE;	} else {	    Error ("hpcMouseGetEvents read");	    FatalError ("Could not read from mouse");	}    } else {	*pNumEvents = nBytes / sizeof (hpcEvent);	*pAgain = (nBytes == sizeof (evBuf));    }    return evBuf;}