// currtime.c by Dennis Lovelady, 1982
//
// Print the current internal time as a long integer.  This value is the
// number of seconds that have elapsed since 1/1/1970.

#include <stdio.h>
#include <time.h>

#define USAGE    "Usage: %s\n"

int main(int argc, char *argv[]) 
    {
    int rc;
    time_t curr_time;
    struct tm time_tm;

    time(&curr_time) ;
    printf("%ld\n", (unsigned long) curr_time) ;
    return 0;
    }
