]> gcc.gnu.org Git - gcc.git/blame_incremental - libstdc++-v3/testsuite/printnow.c
testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator...
[gcc.git] / libstdc++-v3 / testsuite / printnow.c
... / ...
CommitLineData
1/* Prints the current time_t to stdout. Equivalent to the
2 * nonstandard %s format option to GNU date(1).
3*/
4
5#include <sys/types.h>
6#include <stdio.h>
7#include <time.h>
8
9int main ()
10{
11 printf ("%lu\n", time(NULL));
12 exit(0);
13}
This page took 0.022565 seconds and 5 git commands to generate.