Cover V12, I07
jul2003.tar

Listing 5 get_epoch_secs.c

/* 
   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));
}