Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
libstdc++-v3
/
testsuite
/
printnow.c
blob: 457605f3a5186f82598af157410c45e3afbe6268 [
file
] [
log
] [
blame
]
/* Prints the current time_t to stdout. Equivalent to the
* nonstandard %s format option to GNU date(1).
*/
#include
<sys/types.h>
#include
<stdio.h>
#include
<time.h>
int
main
()
{
printf
(
"%lu\n"
,
time
(
NULL
));
exit
(
0
);
}