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
626626ntp_gettime
627627ntptimeval
628628open_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
629633preadv2
630634preadv64
631635prlimit
Original file line number Diff line number Diff line change @@ -1377,6 +1377,30 @@ extern "C" {
13771377 pub fn gnu_get_libc_version ( ) -> * const :: c_char ;
13781378}
13791379
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+
13801404cfg_if ! {
13811405 if #[ cfg( any( target_arch = "x86" ,
13821406 target_arch = "arm" ,
You can’t perform that action at this time.
0 commit comments