1 /* Program to produce output at regular intervals. */
6 struct tm
*localtime ();
17 period
= atoi (argv
[1]);
21 printf ("Wake up!\n");
23 /* If using a period of 60, produce the output when the minute
28 tp
= localtime (&when
);
29 sleep (60 - tp
->tm_sec
);