Converts an absl::Duration to a timespec.

Synopsis

Declared in <absl/time/time.h>

timespec
ToTimespec(Duration d);

Return Value

The equivalent timespec.

Parameters

Name

Description

d

The duration to convert.

Created with MrDocs