mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-15 07:31:26 -07:00
8917a7ef88
Swap to tabs to adhere to the Odin Core library standard and also rename the rusage fields to match the actual definitions from the macos bsd man pages
30 lines
431 B
Odin
30 lines
431 B
Odin
//+build darwin
|
|
package darwin
|
|
|
|
Bool :: b8
|
|
|
|
timeval :: struct {
|
|
tv_sec: int,
|
|
tv_usec: int,
|
|
}
|
|
|
|
RUsage :: struct {
|
|
ru_utime: timeval,
|
|
ru_stime: timeval,
|
|
ru_maxrss: int,
|
|
ru_ixrss: int,
|
|
ru_idrss: int,
|
|
ru_isrss: int,
|
|
ru_minflt: int,
|
|
ru_majflt: int,
|
|
ru_nswap: int,
|
|
ru_inblock: int,
|
|
ru_oublock: int,
|
|
ru_msgsnd: int,
|
|
ru_msgrcv: int,
|
|
ru_nsignals: int,
|
|
ru_nvcsw: int,
|
|
ru_nivcsw: int,
|
|
}
|
|
|