Function utils::timespec_add#

Function Documentation#

void utils::timespec_add(timespec &t1, const timespec &t2)#

Add two timespec.

Parameters
  • t1[inout] The first timespec to add, will get the result of the operation.

  • t2[in] The second timespec to add, will remain unchange after the operation.

Corail is free software: you can redistribute it and/or modify it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.