We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fc018e commit c9222e0Copy full SHA for c9222e0
src/unix/bsd/netbsdlike/openbsd/mod.rs
@@ -535,6 +535,7 @@ s! {
535
536
pub struct ptrace_thread_state {
537
pub pts_tid: crate::pid_t,
538
+ pub pts_name: [c_char; PT_PTS_NAMELEN as usize],
539
}
540
541
// search.h
@@ -1490,6 +1491,8 @@ pub const PT_GET_THREAD_FIRST: c_int = 15;
1490
1491
pub const PT_GET_THREAD_NEXT: c_int = 16;
1492
pub const PT_FIRSTMACH: c_int = 32;
1493
1494
+pub const PT_PTS_NAMELEN: c_int = 32;
1495
+
1496
pub const SOCK_CLOEXEC: c_int = 0x8000;
1497
pub const SOCK_NONBLOCK: c_int = 0x4000;
1498
pub const SOCK_DNS: c_int = 0x1000;
0 commit comments