[#absl-ToTimespec-06] = xref:absl.adoc[absl]::ToTimespec :relfileprefix: ../ :mrdocs: Converts an `absl::Duration` to a `timespec`. == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- timespec ToTimespec(xref:absl/Duration.adoc[Duration] d); ---- == Return Value The equivalent `timespec`. == Parameters [cols="1,4"] |=== | Name| Description | *d* | The duration to convert. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#