Auto merge of #2888 - lwhsu:freebsd-CPU_SETSIZE, r=JohnTitor

Add CPU_SETSIZE const for FreeBSD

It's in all supported versions of FreeBSD.
This commit is contained in:
bors 2022-08-24 00:38:38 +00:00
commit fc683708e1
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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;