OSDN Git Service

Add timespec/timeval conversion helpers.
authorBertrand SIMONNET <bsimonnet@google.com>
Thu, 16 Jul 2015 18:50:39 +0000 (11:50 -0700)
committerBertrand SIMONNET <bsimonnet@google.com>
Thu, 16 Jul 2015 20:10:50 +0000 (13:10 -0700)
commit0875ba3095782387370cba2e36ebc5df7acbcb7e
tree8fa1e9cecd619da9948729e698a99f86b500fc6b
parentb31409040f1766d92e76e72bbdc1b346f4bb9d8e
Add timespec/timeval conversion helpers.

TIMESPEC_TO_TIMEVAL and TIMEVAL_TO_TIMESPEC are usually provided by
sys/time.h.

BUG: 22532790

Change-Id: I8b9d7298e3250323faa20b1adf9a7514954c6096
libc/include/sys/time.h