Skip to content

Commit d07360f

Browse files
nektroalexrp
authored andcommitted
1 parent 6ecf497 commit d07360f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

lib/std/c.zig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4466,6 +4466,28 @@ pub const rusage = switch (native_os) {
44664466
pub const SELF = 1;
44674467
pub const CHILDREN = 2;
44684468
},
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+
},
44694491
else => void,
44704492
};
44714493

0 commit comments

Comments
 (0)