File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -626,6 +626,10 @@ ntp_adjtime
626
626
ntp_gettime
627
627
ntptimeval
628
628
open_wmemstream
629
+ posix_spawn_file_actions_addchdir_np
630
+ posix_spawn_file_actions_addfchdir_np
631
+ posix_spawn_file_actions_addclosefrom_np
632
+ posix_spawn_file_actions_addtcsetpgrp_np
629
633
preadv2
630
634
preadv64
631
635
prlimit
Original file line number Diff line number Diff line change @@ -1377,6 +1377,30 @@ extern "C" {
1377
1377
pub fn gnu_get_libc_version ( ) -> * const :: c_char ;
1378
1378
}
1379
1379
1380
+ // posix/spawn.h
1381
+ extern "C" {
1382
+ // Added in `glibc` 2.29
1383
+ pub fn posix_spawn_file_actions_addchdir_np (
1384
+ actions : * mut :: posix_spawn_file_actions_t ,
1385
+ path : * const :: c_char ,
1386
+ ) -> :: c_int ;
1387
+ // Added in `glibc` 2.29
1388
+ pub fn posix_spawn_file_actions_addfchdir_np (
1389
+ actions : * mut :: posix_spawn_file_actions_t ,
1390
+ fd : :: c_int ,
1391
+ ) -> :: c_int ;
1392
+ // Added in `glibc` 2.34
1393
+ pub fn posix_spawn_file_actions_addclosefrom_np (
1394
+ actions : * mut :: posix_spawn_file_actions_t ,
1395
+ from : :: c_int ,
1396
+ ) -> :: c_int ;
1397
+ // Added in `glibc` 2.35
1398
+ pub fn posix_spawn_file_actions_addtcsetpgrp_np (
1399
+ actions : * mut :: posix_spawn_file_actions_t ,
1400
+ tcfd : :: c_int ,
1401
+ ) -> :: c_int ;
1402
+ }
1403
+
1380
1404
cfg_if ! {
1381
1405
if #[ cfg( any( target_arch = "x86" ,
1382
1406
target_arch = "arm" ,
You can’t perform that action at this time.
0 commit comments