absl::ToTimespec

Converts an absl::Time to a timespec.

Synopsis

Declared in <absl/time/time.h>

timespec
ToTimespec(Time t);

Return Value

The equivalent timespec.

Parameters

NameDescription
tThe time to convert.