Hi,
On 14 February 2017 at 14:24, Pekka Paalanen wrote:
> On Tue, 14 Feb 2017 13:18:02 +
> Daniel Stone wrote:
>> +/* Add a millisecond value to a timespec
>> + *
>> + * \param r[out] result: a + b
>> + * \param a[in] base operand as timespec
>> + * \param b[in] operand in milliseconds
>> +
On Tue, 14 Feb 2017 13:18:02 +
Daniel Stone wrote:
> Add a (timespec) = (timespec) + (msec) helper, to save intermediate
> conversions in its users.
>
> Signed-off-by: Daniel Stone
> ---
> shared/timespec-util.h | 21 +
> tests/timespec-test.c | 11 +++
> 2 fil
Add a (timespec) = (timespec) + (msec) helper, to save intermediate
conversions in its users.
Signed-off-by: Daniel Stone
---
shared/timespec-util.h | 21 +
tests/timespec-test.c | 11 +++
2 files changed, 32 insertions(+)
diff --git a/shared/timespec-util.h b/share