Function drivers::socketcan::to_timeval

Function Documentation

struct timeval drivers::socketcan::to_timeval(const std::chrono::nanoseconds timeout) noexcept

Convert std::chrono duration to timeval (with microsecond resolution)