procf 41 lib/common/watchdog.c FILE* procf; procf 50 lib/common/watchdog.c procf = fopen(SYSRQ, "r"); procf 51 lib/common/watchdog.c if (!procf) { procf 55 lib/common/watchdog.c if (fscanf(procf, "%d", &c) != 1) { procf 59 lib/common/watchdog.c fclose(procf); procf 65 lib/common/watchdog.c procf = fopen(SYSRQ, "w"); procf 66 lib/common/watchdog.c if (!procf) { procf 70 lib/common/watchdog.c fprintf(procf, "%d", c); procf 71 lib/common/watchdog.c fclose(procf); procf 78 lib/common/watchdog.c FILE *procf; procf 82 lib/common/watchdog.c procf = fopen("/proc/sysrq-trigger", "a"); procf 83 lib/common/watchdog.c if (!procf) { procf 88 lib/common/watchdog.c fprintf(procf, "%c\n", t); procf 89 lib/common/watchdog.c fclose(procf);