test.c

SC/src/test.c · 151 B

From the archive sccodebase.tgz

Download the archive   « Back to the archive contents

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

int main()
{
  time_t t;
  time( &t );
  printf( "%d\n", (int)t );
  printf( "%s", ctime( &t ) );
  return 0;
}

Site Stats

Snippets: 1791
Codebases: 571