Lines Matching refs:actions
255 posix_spawn_file_actions_t actions; in create_pipe()
284 if ((err = posix_spawn_file_actions_init (&actions)) != 0 in create_pipe()
287 && (err = posix_spawn_file_actions_adddup2 (&actions, in create_pipe()
291 && (err = posix_spawn_file_actions_adddup2 (&actions, in create_pipe()
295 && (err = posix_spawn_file_actions_addclose (&actions, ofd[0])) in create_pipe()
298 && (err = posix_spawn_file_actions_addclose (&actions, ifd[1])) in create_pipe()
301 && (err = posix_spawn_file_actions_addclose (&actions, ofd[1])) in create_pipe()
304 && (err = posix_spawn_file_actions_addclose (&actions, ifd[0])) in create_pipe()
307 && (err = posix_spawn_file_actions_addopen (&actions, in create_pipe()
314 && (err = posix_spawn_file_actions_addopen (&actions, in create_pipe()
321 && (err = posix_spawn_file_actions_addopen (&actions, in create_pipe()
335 || (err = posix_spawnp (&child, prog_path, &actions, in create_pipe()
341 posix_spawn_file_actions_destroy (&actions); in create_pipe()
362 posix_spawn_file_actions_destroy (&actions); in create_pipe()