ftp.nice.ch/pub/next/developer/nextsources/Pre3.X/emacs-15.0.3.s.tar.gz#/emacs-15.0.3/etc/wakeup.c

This is wakeup.c in view mode; [Download] [Up]

/* Program to produce output at regular intervals.  */

#include <stdio.h>

main (argc, argv)
     int argc;
     char **argv;
{
  int period = 60;

  if (argc > 1)
    period = atoi (argv[1]);

  while (1)
    {
      printf ("Wake up!\n");
      fflush (stdout);
      sleep (period);
    }
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.