Lines Matching refs:timeout
30 system (causing a reboot) after the timeout occurs.
43 timeout or margin. The simplest way to ping the watchdog is to write
58 after the timeout has passed. Watchdog devices also usually support
92 Setting and getting the timeout
95 For some drivers it is possible to modify the watchdog timeout on the
98 representing the timeout in seconds. The driver returns the real
99 timeout used in the same variable, and this timeout might differ from
102 int timeout = 45;
103 ioctl(fd, WDIOC_SETTIMEOUT, &timeout);
104 printf("The timeout was set to %d seconds\n", timeout);
106 This example might actually print "The timeout was set to 60 seconds"
107 if the device has a granularity of minutes for its timeout.
110 current timeout using the GETTIMEOUT ioctl::
112 ioctl(fd, WDIOC_GETTIMEOUT, &timeout);
113 printf("The timeout was is %d seconds\n", timeout);
128 when the timeout will go off. It is not the number of seconds until
129 the pretimeout. So, for instance, if you set the timeout to 60 seconds
135 ioctl(fd, WDIOC_GETPRETIMEOUT, &timeout);
136 printf("The pretimeout was is %d seconds\n", timeout);
148 printf("The timeout was is %d seconds\n", timeleft);
227 WDIOF_SETTIMEOUT Can set/get the timeout