Lines Matching refs:timeout
26 system (causing a reboot) after the timeout occurs.
38 timeout or margin. The simplest way to ping the watchdog is to write
53 after the timeout has passed. Watchdog devices also usually support
85 Setting and getting the timeout:
87 For some drivers it is possible to modify the watchdog timeout on the
90 representing the timeout in seconds. The driver returns the real
91 timeout used in the same variable, and this timeout might differ from
94 int timeout = 45;
95 ioctl(fd, WDIOC_SETTIMEOUT, &timeout);
96 printf("The timeout was set to %d seconds\n", timeout);
98 This example might actually print "The timeout was set to 60 seconds"
99 if the device has a granularity of minutes for its timeout.
102 current timeout using the GETTIMEOUT ioctl.
104 ioctl(fd, WDIOC_GETTIMEOUT, &timeout);
105 printf("The timeout was is %d seconds\n", timeout);
119 when the timeout will go off. It is not the number of seconds until
120 the pretimeout. So, for instance, if you set the timeout to 60 seconds
126 ioctl(fd, WDIOC_GETPRETIMEOUT, &timeout);
127 printf("The pretimeout was is %d seconds\n", timeout);
138 printf("The timeout was is %d seconds\n", timeleft);
197 WDIOF_SETTIMEOUT Can set/get the timeout