Ruby: timeval Struct Reference

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

Data Fields
timeval Struct Reference

`#include <missing.h>`

## Data Fields
time_t | tv_sec
long | tv_usec

## Detailed Description

Definition at line 51 of file missing.h.

## Field Documentation

## ◆ tv_sec

time_t timeval::tv_sec

Definition at line 52 of file missing.h.

Referenced by gettimeofday(), rb_scheduler_timeout(), rb_timespec_now(), rb_w32_select_with_thread(), rb_w32_time_subtract(), rb_w32_utimes(), and rb_w32_uutimes().

## ◆ tv_usec

long timeval::tv_usec

Definition at line 53 of file missing.h.

Referenced by gettimeofday(), rb_scheduler_timeout(), rb_timespec_now(), rb_w32_select_with_thread(), rb_w32_time_subtract(), rb_w32_utimes(), and rb_w32_uutimes().

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

- include/ruby/missing.h