Skip to content

Commit 4d14302

Browse files
committed
adding specific freebsd signal constants
1 parent f1bb40a commit 4d14302

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

libc-test/semver/freebsd.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,10 @@ SIGEV_THREAD
11101110
SIGEV_THREAD_ID
11111111
SIGINFO
11121112
SIGIO
1113+
SIGLIBRT
1114+
SIGLWP
11131115
SIGSTKSZ
1116+
SIGTHR
11141117
SIOCGIFADDR
11151118
SLIPDISC
11161119
SOCKCREDSIZE

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3792,6 +3792,11 @@ pub const CPU_WHICH_CPUSET: ::c_int = 3;
37923792
pub const CPU_WHICH_IRQ: ::c_int = 4;
37933793
pub const CPU_WHICH_JAIL: ::c_int = 5;
37943794

3795+
// sys/signal.h
3796+
pub const SIGTHR: ::c_int = 32;
3797+
pub const SIGLWP: ::c_int = SIGTHR;
3798+
pub const SIGLIBRT: ::c_int = 33;
3799+
37953800
const_fn! {
37963801
{const} fn _ALIGN(p: usize) -> usize {
37973802
(p + _ALIGNBYTES) & !_ALIGNBYTES

0 commit comments

Comments
 (0)