linux/Documentation/watchdog/src
Devendra Naga cad19fa664 Documentation/watchdog: Fix the file descriptor leak when no cmdline arg given
we start a infinite loop when user gives ./watchdog-test, and when user
ctrl + c's the program, we just exit immeadiately with out closing the
filedescriptor of the watchdog device. a signal handler is used to
do the job of closing the filedescriptor and exiting the program.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2012-05-23 16:27:48 +02:00
..
.gitignore .gitignore updates 2008-10-30 11:38:45 -07:00
Makefile
watchdog-simple.c [WATCHDOG] doc: watchdog simple example: don't fail on fsync() 2010-04-03 22:53:46 +00:00
watchdog-test.c Documentation/watchdog: Fix the file descriptor leak when no cmdline arg given 2012-05-23 16:27:48 +02:00