std/os/bits: add timeval struct for riscv64 linux
This commit is contained in:
parent
a799ad05b3
commit
cc6714a929
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user