diff --git a/libc-test/semver/freebsd.txt b/libc-test/semver/freebsd.txt index ab934a219e3bc..5bba5f307028e 100644 --- a/libc-test/semver/freebsd.txt +++ b/libc-test/semver/freebsd.txt @@ -173,6 +173,7 @@ CPU_LEVEL_CPUSET CPU_LEVEL_ROOT CPU_LEVEL_WHICH CPU_SET +CPU_SETSIZE CPU_WHICH_CPUSET CPU_WHICH_IRQ CPU_WHICH_JAIL diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 813bc613b14b2..42a71b21332ed 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -1892,6 +1892,9 @@ pub const LIO_READV: ::c_int = 6; pub const DEVSTAT_N_TRANS_FLAGS: ::c_int = 4; pub const DEVSTAT_NAME_LEN: ::c_int = 16; +// sys/cpuset.h +pub const CPU_SETSIZE: ::c_int = 256; + pub const SIGEV_THREAD_ID: ::c_int = 4; pub const EXTATTR_NAMESPACE_EMPTY: ::c_int = 0;