entered into RCS
This commit is contained in:
parent
92d97f2c7b
commit
7fb0d26fff
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ main (argc, argv)
|
|||
|
||||
while (1)
|
||||
{
|
||||
/* Make sure wakeup stops when Emacs goes away. */
|
||||
if (getppid () == 1)
|
||||
exit (0);
|
||||
printf ("Wake up!\n");
|
||||
fflush (stdout);
|
||||
/* If using a period of 60, produce the output when the minute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue