/* Watchdog fuer JENDATA ISA-Watchdog V0.0.1 */ /* 2001 Uwe Manzei - JENDATA Computersysteme GmbH Jena */ #include #include #include int main(int argc, char **argv) { u_char a; int fd; fd=open("/dev/port",O_RDONLY); if(fd==-1) { perror("port"); exit(1); } while(1) { lseek(fd,0x443,SEEK_SET); read(fd,&a,1); sleep(90); } exit(0); }