Home
last modified time | relevance | path

Searched refs:errpipe (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/udev/
Dudev-event.c775 _cleanup_close_pair_ int outpipe[2] = {-1, -1}, errpipe[2] = {-1, -1}; in udev_event_spawn() local
793 if (pipe2(errpipe, O_NONBLOCK|O_CLOEXEC) != 0) in udev_event_spawn()
827 … if (rearrange_stdio(-1, TAKE_FD(outpipe[WRITE_END]), TAKE_FD(errpipe[WRITE_END])) < 0) in udev_event_spawn()
841 errpipe[WRITE_END] = safe_close(errpipe[WRITE_END]); in udev_event_spawn()
853 .fd_stderr = errpipe[READ_END], in udev_event_spawn()
/systemd-251/src/test/
Dtest-execute.c563 _cleanup_close_pair_ int outpipe[2] = {-1, -1}, errpipe[2] = {-1, -1}; in find_libraries() local
575 assert_se(pipe2(errpipe, O_NONBLOCK|O_CLOEXEC) == 0); in find_libraries()
580 if (rearrange_stdio(-1, TAKE_FD(outpipe[1]), TAKE_FD(errpipe[1])) < 0) in find_libraries()
590 errpipe[1] = safe_close(errpipe[1]); in find_libraries()
598 assert_se(sd_event_add_io(e, &stderr_source, errpipe[0], EPOLLIN, on_spawn_io, NULL) >= 0); in find_libraries()