| ... | ... | @@ -4466,6 +4466,28 @@ pub const rusage = switch (native_os) { |
| 4466 | 4466 | pub const SELF = 1; |
| 4467 | 4467 | pub const CHILDREN = 2; |
| 4468 | 4468 | }, |
| 4469 | .freebsd => extern struct { |
| 4470 | utime: timeval, |
| 4471 | stime: timeval, |
| 4472 | maxrss: c_long, |
| 4473 | ixrss: c_long, |
| 4474 | idrss: c_long, |
| 4475 | isrss: c_long, |
| 4476 | minflt: c_long, |
| 4477 | majflt: c_long, |
| 4478 | nswap: c_long, |
| 4479 | inblock: c_long, |
| 4480 | oublock: c_long, |
| 4481 | msgsnd: c_long, |
| 4482 | msgrcv: c_long, |
| 4483 | nsignals: c_long, |
| 4484 | nvcsw: c_long, |
| 4485 | nivcsw: c_long, |
| 4486 | |
| 4487 | pub const SELF = 0; |
| 4488 | pub const CHILDREN = -1; |
| 4489 | pub const THREAD = 1; |
| 4490 | }, |
| 4469 | 4491 | else => void, |
| 4470 | 4492 | }; |
| 4471 | 4493 | |