Searched refs:fdops (Results 1 - 1 of 1) sorted by relevance

/haiku/src/tests/system/libroot/posix/
H A Dposix_spawn_pipe_test.c15 posix_spawn_file_actions_t fdops; local
22 errno = posix_spawn_file_actions_init(&fdops);
24 errno = posix_spawn_file_actions_addclose(&fdops, out[readIdx]);
26 errno = posix_spawn_file_actions_adddup2(&fdops, out[writeIdx], 1);
28 errno = posix_spawn_file_actions_addclose(&fdops, err[readIdx]);
30 errno = posix_spawn_file_actions_adddup2(&fdops, err[writeIdx], 2);
32 errno = posix_spawn(&pid, "./posix_spawn_pipe_err", &fdops, NULL, argv, NULL);

Completed in 77 milliseconds