mirror of
https://github.com/ziglang/zig.git
synced 2026-02-19 07:48:31 +00:00
openbsd: add time definitions for gettimeofday()
This commit is contained in:
parent
e4bc595bc6
commit
20b19d0092
@ -203,7 +203,17 @@ pub const libc_stat = extern struct {
|
||||
|
||||
pub const timespec = extern struct {
|
||||
tv_sec: time_t,
|
||||
tv_nsec: isize,
|
||||
tv_nsec: c_long,
|
||||
};
|
||||
|
||||
pub const timeval = extern struct {
|
||||
tv_sec: time_t,
|
||||
tv_usec: c_long,
|
||||
};
|
||||
|
||||
pub const timezone = extern struct {
|
||||
tz_minuteswest: c_int,
|
||||
tz_dsttime: c_int,
|
||||
};
|
||||
|
||||
pub const MAXNAMLEN = 255;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user