Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26795
b: refs/heads/master
c: 92930d9
h: refs/heads/master
i:
  26793: e56bcf4
  26791: 2163552
v: v3
  • Loading branch information
Randy Dunlap authored and Wim Van Sebroeck committed May 15, 2006
1 parent c7baccd commit 46883ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7071e522a58cb1b3469e4cd8664ef03a32076349
refs/heads/master: 92930d9e8121223e14131809c6e9959ee9e0c43f
3 changes: 3 additions & 0 deletions trunk/Documentation/watchdog/watchdog-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ timeout or margin. The simplest way to ping the watchdog is to write
some data to the device. So a very simple watchdog daemon would look
like this:

#include <stdlib.h>
#include <fcntl.h>

int main(int argc, const char *argv[]) {
int fd=open("/dev/watchdog",O_WRONLY);
if (fd==-1) {
Expand Down

0 comments on commit 46883ac

Please sign in to comment.