[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] In about 2.5 hours...???



Charles Shapiro wrote:
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
Huh? According to the following site there is over 3.5 hours to go.
http://www.1234567890day.com/