Skip to content

Commit

Permalink
Added pthread_[get/set]name_np functions for NuttX
Browse files Browse the repository at this point in the history
  • Loading branch information
YohDeadfall committed Nov 4, 2024
1 parent ddeff5b commit c414761
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/nuttx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,5 +551,7 @@ extern "C" {
pub fn futimens(fd: i32, times: *const timespec) -> i32;
pub fn pthread_condattr_setclock(attr: *mut pthread_condattr_t, clock_id: clockid_t) -> i32;
pub fn pthread_set_name_np(thread: pthread_t, name: *const c_char) -> i32;
pub fn pthread_setname_np(thread: pthread_t, name: *const c_char) -> i32;
pub fn pthread_getname_np(thread: pthread_t, name: *mut c_char, len: usize) -> i32;
pub fn getrandom(buf: *mut c_void, buflen: usize, flags: u32) -> isize;
}

0 comments on commit c414761

Please sign in to comment.