File tree 2 files changed +19
-0
lines changed
src/unix/bsd/netbsdlike/netbsd
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -730,6 +730,9 @@ PIOD_READ_I
730
730
PIOD_WRITE_D
731
731
PIOD_WRITE_I
732
732
PIPE_BUF
733
+ PL_EVENT_NONE
734
+ PL_EVENT_SIGNAL
735
+ PL_EVENT_SUSPENDED
733
736
PM_STR
734
737
POLLRDBAND
735
738
POLLRDNORM
@@ -1330,6 +1333,8 @@ pthread_setaffinity_np
1330
1333
pthread_setname_np
1331
1334
ptrace
1332
1335
ptrace_io_desc
1336
+ ptrace_lwpinfo
1337
+ ptrace_siginfo
1333
1338
pututxline
1334
1339
pwritev
1335
1340
qsort
Original file line number Diff line number Diff line change @@ -538,6 +538,16 @@ s! {
538
538
#[ cfg( libc_union) ]
539
539
pub fae: * mut posix_spawn_file_actions_entry_t,
540
540
}
541
+
542
+ pub struct ptrace_lwpinfo {
543
+ pub pl_lwpid: lwpid_t,
544
+ pub pl_event: :: c_int,
545
+ }
546
+
547
+ pub struct ptrace_siginfo {
548
+ pub psi_siginfo: siginfo_t,
549
+ pub psi_lwpid: lwpid_t,
550
+ }
541
551
}
542
552
543
553
s_no_extra_traits ! {
@@ -1598,6 +1608,10 @@ pub const TIME_ERROR: ::c_int = 5;
1598
1608
pub const LITTLE_ENDIAN : :: c_int = 1234 ;
1599
1609
pub const BIG_ENDIAN : :: c_int = 4321 ;
1600
1610
1611
+ pub const PL_EVENT_NONE : :: c_int = 0 ;
1612
+ pub const PL_EVENT_SIGNAL : :: c_int = 1 ;
1613
+ pub const PL_EVENT_SUSPENDED : :: c_int = 2 ;
1614
+
1601
1615
cfg_if ! {
1602
1616
if #[ cfg( any( target_arch = "sparc" , target_arch = "sparc64" ,
1603
1617
target_arch = "x86" , target_arch = "x86_64" ) ) ] {
You can’t perform that action at this time.
0 commit comments