1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 19:54:57 +08:00

Add a bunch of clarifying comments to those timespec functions which are intended for duration timespecs.

This commit is contained in:
Mike Purvis 2013-10-06 11:16:55 -04:00
parent b01b47b301
commit 452dd3e678

View File

@ -39,7 +39,7 @@
/*! Smooth over platform variances in getting an accurate timespec
* representing the present moment. */
static inline struct timespec
get_time_now ()
timespec_now ()
{
struct timespec ts;
# ifdef __MACH__ // OS X does not have clock_gettime, use clock_get_time