Skip to content

Commit ab654a6

Browse files
committed
Auto merge of #1552 - gsquire:add-pthread_attr_get_np, r=gnzlbg
NetBSD pthread_attr_get_np This patch adds a signature for the [`pthread_attr_get_np`](https://netbsd.gw.com/cgi-bin/man-cgi?pthread_attr_get_np+3+NetBSD-current) function for all architectures on NetBSD. Closes #1538
2 parents 5daf836 + a94417f commit ab654a6

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)