OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
testsuite
/
printnow.c
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
9
int main ()
10
{
11
printf ("%lu\n", time(NULL));
12
exit(0);
13
}