Home
last modified time | relevance | path

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; in main() local
22 errno = posix_spawn_file_actions_init(&fdops); in main()
24 errno = posix_spawn_file_actions_addclose(&fdops, out[readIdx]); in main()
26 errno = posix_spawn_file_actions_adddup2(&fdops, out[writeIdx], 1); in main()
28 errno = posix_spawn_file_actions_addclose(&fdops, err[readIdx]); in main()
30 errno = posix_spawn_file_actions_adddup2(&fdops, err[writeIdx], 2); in main()
32 errno = posix_spawn(&pid, "./posix_spawn_pipe_err", &fdops, NULL, argv, NULL); in main()