timespec

package
v1.0.1-0...-e84a606 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CTimespecPtr

type CTimespecPtr unsafe.Pointer

CTimespecPtr is an unsafe pointer wrapping C's `struct timespec`.

type Timespec

type Timespec unix.Timespec

Timespec behaves similarly to C's struct timespec. Timespec is used to retain fidelity to the C based file systems apis that could be lossy with the use of Go time types.

func CStructToTimespec

func CStructToTimespec(cts CTimespecPtr) Timespec

CStructToTimespec creates a new Timespec for the C 'struct timespec'.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL