Ruby: timespec Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
timespec Struct Reference

`#include <missing.h>`

## Data Fields
time_t | tv_sec
long | tv_nsec

## Detailed Description

Definition at line 62 of file missing.h.

## Field Documentation

## ◆ tv_nsec

long timespec::tv_nsec

Definition at line 64 of file missing.h.

Referenced by clock_getres(), clock_gettime(), rb_time_timespec_new(), rb_time_timeval(), rb_timespec_now(), rb_w32_utime(), rb_w32_utimes(), rb_w32_uutime(), and rb_w32_uutimes().

## ◆ tv_sec

time_t timespec::tv_sec

Definition at line 63 of file missing.h.

Referenced by clock_getres(), clock_gettime(), rb_time_timespec_new(), rb_time_timeval(), rb_timespec_now(), rb_w32_utime(), rb_w32_utimes(), rb_w32_uutime(), and rb_w32_uutimes().

The documentation for this struct was generated from the following file:

- include/ruby/missing.h