[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] In about 2.5 hours...
- Subject: [ale] In about 2.5 hours...
- From: hooterpincher at gmail.com (Charles Shapiro)
- Date: Fri, 13 Feb 2009 13:33:12 -0500
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