8PACKED_STRUCT_UNALIGNED(
struct vtm {
23#define TIME_SCALE 1000000000
25#ifndef TYPEOF_TIMEVAL_TV_SEC
26# define TYPEOF_TIMEVAL_TV_SEC time_t
28#ifndef TYPEOF_TIMEVAL_TV_USEC
29# if INT_MAX >= 1000000
30# define TYPEOF_TIMEVAL_TV_USEC int
32# define TYPEOF_TIMEVAL_TV_USEC long
36#if SIZEOF_TIME_T == SIZEOF_LONG
37typedef unsigned long unsigned_time_t;
38#elif SIZEOF_TIME_T == SIZEOF_INT
39typedef unsigned int unsigned_time_t;
40#elif SIZEOF_TIME_T == SIZEOF_LONG_LONG
41typedef unsigned LONG_LONG unsigned_time_t;
43# error cannot find integer type which size is same as time_t.
48VALUE rb_strftime_timespec(
const char *format,
size_t format_len,
rb_encoding *enc,
uintptr_t VALUE
Type that represents a Ruby object.