
/* 
   Listing 5
   get_epoch_secs.c 
   return the number of seconds from the Epoch
*/
#include <stdio.h>
#include <time.h>

void main(argc, argv)
int argc;
char **argv;
{
time_t tloc;

printf("%ld", time(&tloc));
} /* end Listing 5 */

