File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,10 @@ extern {
227
227
flags : :: c_int ) -> :: c_int ;
228
228
pub fn mprotect ( addr : * const :: c_void , len : :: size_t , prot : :: c_int )
229
229
-> :: c_int ;
230
+ pub fn pthread_main_np ( ) -> :: c_int ;
231
+ pub fn pthread_set_name_np ( tid : :: pthread_t , name : * const :: c_char ) ;
232
+ pub fn pthread_stackseg_np ( thread : :: pthread_t ,
233
+ sinfo : * mut :: stack_t ) -> :: c_int ;
230
234
pub fn sysctl ( name : * mut :: c_int ,
231
235
namelen : :: c_uint ,
232
236
oldp : * mut :: c_void ,
Original file line number Diff line number Diff line change @@ -384,10 +384,6 @@ extern {
384
384
pub fn __errno ( ) -> * mut :: c_int ;
385
385
pub fn shm_open ( name : * const :: c_char , oflag : :: c_int , mode : :: mode_t )
386
386
-> :: c_int ;
387
- pub fn pthread_main_np ( ) -> :: c_int ;
388
- pub fn pthread_set_name_np ( tid : :: pthread_t , name : * const :: c_char ) ;
389
- pub fn pthread_stackseg_np ( thread : :: pthread_t ,
390
- sinfo : * mut :: stack_t ) -> :: c_int ;
391
387
pub fn memrchr ( cx : * const :: c_void , c : :: c_int , n : :: size_t ) -> * mut :: c_void ;
392
388
pub fn mkostemp ( template : * mut :: c_char , flags : :: c_int ) -> :: c_int ;
393
389
pub fn mkostemps ( template : * mut :: c_char , suffixlen : :: c_int , flags : :: c_int ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -232,6 +232,10 @@ extern {
232
232
flags : :: c_int ) -> :: c_int ;
233
233
pub fn mprotect ( addr : * mut :: c_void , len : :: size_t , prot : :: c_int )
234
234
-> :: c_int ;
235
+ pub fn pthread_main_np ( ) -> :: c_int ;
236
+ pub fn pthread_set_name_np ( tid : :: pthread_t , name : * const :: c_char ) ;
237
+ pub fn pthread_stackseg_np ( thread : :: pthread_t ,
238
+ sinfo : * mut :: stack_t ) -> :: c_int ;
235
239
pub fn sysctl ( name : * const :: c_int ,
236
240
namelen : :: c_uint ,
237
241
oldp : * mut :: c_void ,
You can’t perform that action at this time.
0 commit comments