[Cialug] Seconds only timestamp

Brian Wood woodbrian77 at gmail.com
Sun Jun 15 18:52:37 CDT 2014


Is there an api that returns just the number of seconds?  Currently
I'm using clock_gettime and  CLOCK_REALTIME_COARSE.  The
docs say that CLOCK_REALTIME_COARSE is;

"A faster but less precise version of CLOCK_REALTIME."

I don't know how coarse it is, but I only care about the seconds.

Thanks.

-- 
Brian
Ebenezer Enterprises - So far G-d has helped us.
http://webEbenezer.net


More information about the Cialug mailing list