To use: ioctl(fd, SIOWDOGSETMODE, &val) val: WDOGM_RESET -> reset when counter expired WDOGM_INTR -> print PC when counter expired (new!) This interface is still under experimental.