File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
src/unix/bsd/netbsdlike/netbsd Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -730,6 +730,9 @@ PIOD_READ_I
730730PIOD_WRITE_D
731731PIOD_WRITE_I
732732PIPE_BUF
733+ PL_EVENT_NONE
734+ PL_EVENT_SIGNAL
735+ PL_EVENT_SUSPENDED
733736PM_STR
734737POLLRDBAND
735738POLLRDNORM
@@ -1330,6 +1333,8 @@ pthread_setaffinity_np
13301333pthread_setname_np
13311334ptrace
13321335ptrace_io_desc
1336+ ptrace_lwpinfo
1337+ ptrace_siginfo
13331338pututxline
13341339pwritev
13351340qsort
Original file line number Diff line number Diff line change @@ -538,6 +538,16 @@ s! {
538538 #[ cfg( libc_union) ]
539539 pub fae: * mut posix_spawn_file_actions_entry_t,
540540 }
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+ }
541551}
542552
543553s_no_extra_traits ! {
@@ -1598,6 +1608,10 @@ pub const TIME_ERROR: ::c_int = 5;
15981608pub const LITTLE_ENDIAN : :: c_int = 1234 ;
15991609pub const BIG_ENDIAN : :: c_int = 4321 ;
16001610
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+
16011615cfg_if ! {
16021616 if #[ cfg( any( target_arch = "sparc" , target_arch = "sparc64" ,
16031617 target_arch = "x86" , target_arch = "x86_64" ) ) ] {
You can’t perform that action at this time.
0 commit comments