Skip to content

Commit a94417f

Browse files
committed
add pthread_attr_get_np for NetBSD
1 parent fab9ea1 commit a94417f

File tree

1 file changed

+4
-0
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+4
-0
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,6 +1669,10 @@ extern "C" {
16691669
name: *const ::c_char,
16701670
arg: *mut ::c_void,
16711671
) -> ::c_int;
1672+
pub fn pthread_attr_get_np(
1673+
thread: ::pthread_t,
1674+
attr: *mut ::pthread_attr_t,
1675+
) -> ::c_int;
16721676
pub fn pthread_getattr_np(
16731677
native: ::pthread_t,
16741678
attr: *mut ::pthread_attr_t,

0 commit comments

Comments
 (0)