| author | |
| committer | |
| log | a78e61acf9370df66c257036d7a626321691aa5d |
| tree | 2d0c64c7f14bf3d1df825629f621bd3fedfb3984 |
| parent | 63f4778827bf7e48e7b451d3d04dc1a74126a6d3 |
3 files changed, 13 insertions(+), 10 deletions(-)
lib/std/c/darwin.zig+3-2| ... | ... | @@ -1703,8 +1703,6 @@ pub const CLOCK = struct { |
| 1703 | 1703 | /// Max open files per process |
| 1704 | 1704 | /// https://opensource.apple.com/source/xnu/xnu-4903.221.2/bsd/sys/syslimits.h.auto.html |
| 1705 | 1705 | pub const OPEN_MAX = 10240; |
| 1706 | pub const RUSAGE_SELF = 0; | |
| 1707 | pub const RUSAGE_CHILDREN = -1; | |
| 1708 | 1706 | |
| 1709 | 1707 | pub const rusage = extern struct { |
| 1710 | 1708 | utime: timeval, |
| ... | ... | @@ -1723,6 +1721,9 @@ pub const rusage = extern struct { |
| 1723 | 1721 | nsignals: isize, |
| 1724 | 1722 | nvcsw: isize, |
| 1725 | 1723 | nivcsw: isize, |
| 1724 | ||
| 1725 | pub const SELF = 0; | |
| 1726 | pub const CHILDREN = -1; | |
| 1726 | 1727 | }; |
| 1727 | 1728 | |
| 1728 | 1729 | pub const rlimit_resource = enum(c_int) { |
lib/std/c/solaris.zig+4-4| ... | ... | @@ -1550,10 +1550,6 @@ pub const rlimit = extern struct { |
| 1550 | 1550 | max: rlim_t, |
| 1551 | 1551 | }; |
| 1552 | 1552 | |
| 1553 | pub const RUSAGE_SELF = 0; | |
| 1554 | pub const RUSAGE_CHILDREN = -1; | |
| 1555 | pub const RUSAGE_THREAD = 1; | |
| 1556 | ||
| 1557 | 1553 | pub const rusage = extern struct { |
| 1558 | 1554 | utime: timeval, |
| 1559 | 1555 | stime: timeval, |
| ... | ... | @@ -1571,6 +1567,10 @@ pub const rusage = extern struct { |
| 1571 | 1567 | nsignals: isize, |
| 1572 | 1568 | nvcsw: isize, |
| 1573 | 1569 | nivcsw: isize, |
| 1570 | ||
| 1571 | pub const SELF = 0; | |
| 1572 | pub const CHILDREN = -1; | |
| 1573 | pub const THREAD = 1; | |
| 1574 | 1574 | }; |
| 1575 | 1575 | |
| 1576 | 1576 | pub const SHUT = struct { |
lib/std/os/linux.zig+6-4| ... | ... | @@ -3798,10 +3798,6 @@ pub const MFD_HUGE_1GB = HUGETLB_FLAG_ENCODE_1GB; |
| 3798 | 3798 | pub const MFD_HUGE_2GB = HUGETLB_FLAG_ENCODE_2GB; |
| 3799 | 3799 | pub const MFD_HUGE_16GB = HUGETLB_FLAG_ENCODE_16GB; |
| 3800 | 3800 | |
| 3801 | pub const RUSAGE_SELF = 0; | |
| 3802 | pub const RUSAGE_CHILDREN = -1; | |
| 3803 | pub const RUSAGE_THREAD = 1; | |
| 3804 | ||
| 3805 | 3801 | pub const rusage = extern struct { |
| 3806 | 3802 | utime: timeval, |
| 3807 | 3803 | stime: timeval, |
| ... | ... | @@ -3820,6 +3816,10 @@ pub const rusage = extern struct { |
| 3820 | 3816 | nvcsw: isize, |
| 3821 | 3817 | nivcsw: isize, |
| 3822 | 3818 | __reserved: [16]isize = [1]isize{0} ** 16, |
| 3819 | ||
| 3820 | pub const SELF = 0; | |
| 3821 | pub const CHILDREN = -1; | |
| 3822 | pub const THREAD = 1; | |
| 3823 | 3823 | }; |
| 3824 | 3824 | |
| 3825 | 3825 | pub const cc_t = u8; |
| ... | ... | @@ -5199,4 +5199,6 @@ pub const PERF = struct { |
| 5199 | 5199 | pub const QUERY_BPF = 3221758986; |
| 5200 | 5200 | pub const MODIFY_ATTRIBUTES = 1074275339; |
| 5201 | 5201 | }; |
| 5202 | ||
| 5203 | pub const IOC_FLAG_GROUP = 1; | |
| 5202 | 5204 | }; |