Skip to content

Commit

Permalink
CPU_SETSIZE constant to dragonflybsd.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Sep 26, 2022
1 parent 35cd8f0 commit f0808a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/dragonfly.txt
Expand Up @@ -145,6 +145,7 @@ CODESET
CPU_CLR
CPU_ISSET
CPU_SET
CPU_SETSIZE
CPU_ZERO
CPUCTL_RSMSR
CPUCTL_WRMSR
Expand Down
2 changes: 2 additions & 0 deletions src/unix/bsd/freebsdlike/dragonfly/mod.rs
Expand Up @@ -1066,6 +1066,8 @@ pub const CPUCTL_MSRSBIT: ::c_int = 0xc0106305;
pub const CPUCTL_MSRCBIT: ::c_int = 0xc0106306;
pub const CPUCTL_CPUID_COUNT: ::c_int = 0xc0106307;

pub const CPU_SETSIZE: ::size_t = ::mem::size_of::<::cpumask_t>();

pub const EVFILT_READ: i16 = -1;
pub const EVFILT_WRITE: i16 = -2;
pub const EVFILT_AIO: i16 = -3;
Expand Down

0 comments on commit f0808a0

Please sign in to comment.