Type Definition libnotcurses_sys::NcTime

source ·
pub type NcTime = timespec;
Expand description

A time in seconds and nanoseconds.

It assumes that pre-epoch Timespecs have negative tv_sec and positive nsec fields.

A record specifying a time value in seconds and nanoseconds, where nanoseconds represent the offset from the given second.

Implementations§

New NcTime with the specified seconds and nanoseconds.