[ale] In about 2.5 hours...
Charles Shapiro
hooterpincher at gmail.com
Fri Feb 13 13:33:12 EST 2009
Counting Down to the Significant Second:
tprt.c:
#include <stdio.h>
#include <time.h>
int main (int argc, char *argv[])
{
time_t now;
printf("Time: %ld\n",time(&now));
}
gcc tprt.c
while true
do
./a.out >> tprt.out
sleep 1
done
tail -f ./tprt.out
Current values for me on a work machine:
Time: 1234549942
Time: 1234549943
Time: 1234549944
Time: 1234549946
Time: 1234549947
Time: 1234549948
Time: 1234549949
Time: 1234549950
-- CHS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20090213/3bf2a679/attachment.html
More information about the Ale
mailing list