ToTimespec overloads

Synopses

Declared in <absl/time/time.h>

Converts an absl::Duration to a timespec.

timespec
ToTimespec(Duration d);

Converts an absl::Time to a timespec.

timespec
ToTimespec(Time t);

Return Value

The equivalent timespec.

Parameters

Name

Description

d

The duration to convert.

t

The time to convert.

Created with MrDocs