Home
last modified time | relevance | path

Searched refs:WRITE_END (Results 1 – 4 of 4) sorted by relevance

/third_party/alsa-utils/alsactl/
Dinit_utils_run.c22 #define WRITE_END 1 macro
105 if (outpipe[WRITE_END] < 0) in run_program0()
107 if (errpipe[WRITE_END] < 0) in run_program0()
112 if (outpipe[WRITE_END] > 0) { in run_program0()
113 dup2(outpipe[WRITE_END], STDOUT_FILENO); in run_program0()
114 close(outpipe[WRITE_END]); in run_program0()
116 if (errpipe[WRITE_END] > 0) { in run_program0()
117 dup2(errpipe[WRITE_END], STDERR_FILENO); in run_program0()
118 close(errpipe[WRITE_END]); in run_program0()
135 if (outpipe[WRITE_END] > 0) in run_program0()
[all …]
/third_party/eudev/src/udev/
Dudev-event.c767 outpipe[WRITE_END], errpipe[WRITE_END]); in udev_event_spawn()
776 if (outpipe[WRITE_END] >= 0) { in udev_event_spawn()
777 close(outpipe[WRITE_END]); in udev_event_spawn()
778 outpipe[WRITE_END] = -1; in udev_event_spawn()
780 if (errpipe[WRITE_END] >= 0) { in udev_event_spawn()
781 close(errpipe[WRITE_END]); in udev_event_spawn()
782 errpipe[WRITE_END] = -1; in udev_event_spawn()
797 if (outpipe[WRITE_END] >= 0) in udev_event_spawn()
798 close(outpipe[WRITE_END]); in udev_event_spawn()
801 if (errpipe[WRITE_END] >= 0) in udev_event_spawn()
[all …]
Dudevd.c362 r = worker_send_message(worker_watch[WRITE_END]); in worker_spawn()
415 close(worker_watch[WRITE_END]); in worker_spawn()
1562 if (worker_watch[WRITE_END] >= 0) in main()
1563 close(worker_watch[WRITE_END]); in main()
/third_party/eudev/src/libudev/
Dlibudev-private.h33 #define WRITE_END 1 macro