Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions libc-test/semver/cygwin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,12 @@ posix_fadvise
posix_fallocate
posix_madvise
posix_spawn
posix_spawn_file_actions_addchdir
posix_spawn_file_actions_addchdir_np
posix_spawn_file_actions_addclose
posix_spawn_file_actions_adddup2
posix_spawn_file_actions_addfchdir
posix_spawn_file_actions_addfchdir_np
posix_spawn_file_actions_addopen
posix_spawn_file_actions_destroy
posix_spawn_file_actions_init
Expand Down
16 changes: 16 additions & 0 deletions src/unix/cygwin/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2479,6 +2479,22 @@ extern "C" {
fd: c_int,
newfd: c_int,
) -> c_int;
pub fn posix_spawn_file_actions_addchdir(
actions: *mut crate::posix_spawn_file_actions_t,
path: *const c_char,
) -> c_int;
pub fn posix_spawn_file_actions_addfchdir(
actions: *mut crate::posix_spawn_file_actions_t,
fd: c_int,
) -> c_int;
pub fn posix_spawn_file_actions_addchdir_np(
actions: *mut crate::posix_spawn_file_actions_t,
path: *const c_char,
) -> c_int;
pub fn posix_spawn_file_actions_addfchdir_np(
actions: *mut crate::posix_spawn_file_actions_t,
fd: c_int,
) -> c_int;

pub fn forkpty(
amaster: *mut c_int,
Expand Down
Loading