fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / libstdc++-v3 / testsuite / printnow.c
blob457605f3a5186f82598af157410c45e3afbe6268
1 /* Prints the current time_t to stdout. Equivalent to the
2 * nonstandard %s format option to GNU date(1).
3 */
5 #include <sys/types.h>
6 #include <stdio.h>
7 #include <time.h>
9 int main ()
11 printf ("%lu\n", time(NULL));
12 exit(0);