repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2004-01-30 Paolo Carlini <pcarlini@suse.de>
[official-gcc.git]
/
libstdc++-v3
/
testsuite
/
printnow.c
blob
457605f3a5186f82598af157410c45e3afbe6268
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
}