std/os/bits: add timeval struct for riscv64 linux

This commit is contained in:
lithdew 2021-05-02 18:41:48 +09:00
parent a799ad05b3
commit cc6714a929

View File

@ -376,6 +376,11 @@ pub const timespec = extern struct {
tv_nsec: isize,
};
pub const timeval = extern struct {
tv_sec: time_t,
tv_usec: i64,
};
pub const Flock = extern struct {
l_type: i16,
l_whence: i16,