/dports/x11/polybar/polybar-3.5.7/src/utils/ |
H A D | command.cpp | 117 if (m_stdin[PIPE_WRITE] > 0) { in ~command() 118 close(m_stdin[PIPE_WRITE]); in ~command() 123 if (m_stdout[PIPE_WRITE] > 0) { in ~command() 124 close(m_stdout[PIPE_WRITE]); in ~command() 140 if (dup2(m_stdout[PIPE_WRITE], STDOUT_FILENO) == -1) { in exec() 143 if (dup2(m_stdout[PIPE_WRITE], STDERR_FILENO) == -1) { in exec() 151 if ((m_stdin[PIPE_WRITE] = close(m_stdin[PIPE_WRITE])) == -1) { in exec() 157 if ((m_stdout[PIPE_WRITE] = close(m_stdout[PIPE_WRITE])) == -1) { in exec() 168 if ((m_stdout[PIPE_WRITE] = close(m_stdout[PIPE_WRITE])) == -1) { in exec() 197 return static_cast<int>(io_util::writeline(m_stdin[PIPE_WRITE], data)); in writeline()
|
/dports/mail/cyrus-imapd32/cyrus-imapd-3.2.8/lib/ |
H A D | command.c | 104 #define PIPE_WRITE 1 macro 155 close(stdin_pipe[PIPE_WRITE]); in command_popen() 161 dup2(stdout_pipe[PIPE_WRITE], STDOUT_FILENO); in command_popen() 162 close(stdout_pipe[PIPE_WRITE]); in command_popen() 180 cmd->stdin_prot = prot_new(stdin_pipe[PIPE_WRITE], /*write*/1); in command_popen() 187 if (stdout_pipe[PIPE_WRITE] >= 0) close(stdout_pipe[PIPE_WRITE]); in command_popen() 189 if (stdin_pipe[PIPE_WRITE] >= 0) close(stdin_pipe[PIPE_WRITE]); in command_popen()
|
/dports/mail/cyrus-imapd34/cyrus-imapd-3.4.2/lib/ |
H A D | command.c | 104 #define PIPE_WRITE 1 macro 155 close(stdin_pipe[PIPE_WRITE]); in command_popen() 161 dup2(stdout_pipe[PIPE_WRITE], STDOUT_FILENO); in command_popen() 162 close(stdout_pipe[PIPE_WRITE]); in command_popen() 180 cmd->stdin_prot = prot_new(stdin_pipe[PIPE_WRITE], /*write*/1); in command_popen() 187 if (stdout_pipe[PIPE_WRITE] >= 0) close(stdout_pipe[PIPE_WRITE]); in command_popen() 189 if (stdin_pipe[PIPE_WRITE] >= 0) close(stdin_pipe[PIPE_WRITE]); in command_popen()
|
/dports/mail/cyrus-imapd30/cyrus-imapd-3.0.16/lib/ |
H A D | command.c | 104 #define PIPE_WRITE 1 macro 154 close(stdin_pipe[PIPE_WRITE]); in command_popen() 160 dup2(stdout_pipe[PIPE_WRITE], STDOUT_FILENO); in command_popen() 161 close(stdout_pipe[PIPE_WRITE]); in command_popen() 174 cmd->stdin_prot = prot_new(stdin_pipe[PIPE_WRITE], /*write*/1); in command_popen() 181 if (stdout_pipe[PIPE_WRITE] >= 0) close(stdout_pipe[PIPE_WRITE]); in command_popen() 183 if (stdin_pipe[PIPE_WRITE] >= 0) close(stdin_pipe[PIPE_WRITE]); in command_popen()
|
/dports/devel/radare2/radare2-5.1.1/shlr/bochs/src/ |
H A D | libbochs.c | 242 #define PIPE_WRITE 1 macro 253 close (aStdinPipe[PIPE_WRITE]); 267 if (dup2 (aStdoutPipe[PIPE_WRITE], STDOUT_FILENO) == -1) { 273 if (dup2 (aStdoutPipe[PIPE_WRITE], STDERR_FILENO) == -1) { 279 close (aStdinPipe[PIPE_WRITE]); 281 close (aStdoutPipe[PIPE_WRITE]); 287 close (aStdoutPipe[PIPE_WRITE]); 294 b->hWritePipeOut = aStdinPipe[PIPE_WRITE]; 310 close (aStdinPipe[PIPE_WRITE]); 312 close (aStdoutPipe[PIPE_WRITE]);
|
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/mq_unlink/ |
H A D | 2-1.c | 39 #define PIPE_WRITE 1 macro 84 close(to_child[PIPE_WRITE]); in main() 86 to_parent[PIPE_WRITE]); in main() 90 close(to_parent[PIPE_WRITE]); in main() 93 to_child[PIPE_WRITE], pid); in main()
|
H A D | 2-2.c | 36 #define PIPE_WRITE 1 macro 79 close(to_child[PIPE_WRITE]); in main() 81 to_parent[PIPE_WRITE]); in main() 85 close(to_parent[PIPE_WRITE]); in main() 88 to_child[PIPE_WRITE], pid); in main()
|
/dports/cad/sumo/sumo-1.2.0/src/utils/foxtools/ |
H A D | FXSingleEventThread.cpp | 41 # define PIPE_WRITE 1 macro 76 ::close(event[PIPE_WRITE]); in ~FXSingleEventThread() 89 FXint res = ::write(event[PIPE_WRITE], &seltype, sizeof(seltype)); in signal() 101 FXint res = ::write(event[PIPE_WRITE], &seltype, sizeof(seltype)); in signal()
|
H A D | FXThreadEvent.cpp | 59 # define PIPE_WRITE 1 macro 90 ::close(event[PIPE_WRITE]); in ~FXThreadEvent() 103 FXint res = ::write(event[PIPE_WRITE], &seltype, sizeof(seltype)); in signal() 114 FXint res = ::write(event[PIPE_WRITE], &seltype, sizeof(seltype)); in signal()
|
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/mq_close/ |
H A D | 2-1.c | 36 #define PIPE_WRITE 1 macro 79 close(to_child[PIPE_WRITE]); in main() 82 to_parent[PIPE_WRITE]); in main() 85 close(to_parent[PIPE_WRITE]); in main() 89 to_child[PIPE_WRITE], pid); in main()
|
/dports/mail/alpine/alpine-465e23b/pith/osdep/ |
H A D | pipe.c | 151 && !(mode & (PIPE_WRITE | PIPE_READ | PIPE_STDERR))){ in open_system_pipe() 185 if(mode & PIPE_WRITE){ in open_system_pipe() 321 if(mode & (PIPE_WRITE | PIPE_READ)){ in open_system_pipe() 322 if(mode & PIPE_WRITE){ in open_system_pipe() 358 if(mode & PIPE_WRITE){ /* connect process input */ in open_system_pipe() 415 if(mode & PIPE_WRITE){ in open_system_pipe() 432 if(mode & (PIPE_WRITE | PIPE_READ)){ in open_system_pipe() 433 if(mode & PIPE_WRITE){ in open_system_pipe() 560 if(syspipe->mode & PIPE_WRITE){ in pipe_close_write() 616 if(((*syspipe)->mode & PIPE_WRITE) && (*syspipe)->out.f){ in close_system_pipe() [all …]
|
/dports/editors/pico-alpine/alpine-465e23b/pith/osdep/ |
H A D | pipe.c | 151 && !(mode & (PIPE_WRITE | PIPE_READ | PIPE_STDERR))){ in open_system_pipe() 185 if(mode & PIPE_WRITE){ in open_system_pipe() 321 if(mode & (PIPE_WRITE | PIPE_READ)){ in open_system_pipe() 322 if(mode & PIPE_WRITE){ in open_system_pipe() 358 if(mode & PIPE_WRITE){ /* connect process input */ in open_system_pipe() 415 if(mode & PIPE_WRITE){ in open_system_pipe() 432 if(mode & (PIPE_WRITE | PIPE_READ)){ in open_system_pipe() 433 if(mode & PIPE_WRITE){ in open_system_pipe() 560 if(syspipe->mode & PIPE_WRITE){ in pipe_close_write() 616 if(((*syspipe)->mode & PIPE_WRITE) && (*syspipe)->out.f){ in close_system_pipe() [all …]
|
/dports/mail/cyrus-imapd30/cyrus-imapd-3.0.16/cunit/ |
H A D | timeout.c | 57 #define PIPE_WRITE 1 macro 176 timeout_fd = dup2(pipefd[PIPE_WRITE], 253); in timeout_init() 182 close(pipefd[PIPE_WRITE]); in timeout_init() 190 close(pipefd[PIPE_WRITE]); in timeout_init()
|
/dports/mail/cyrus-imapd34/cyrus-imapd-3.4.2/cunit/ |
H A D | timeout.c | 57 #define PIPE_WRITE 1 macro 177 timeout_fd = dup2(pipefd[PIPE_WRITE], 253); in timeout_init() 183 close(pipefd[PIPE_WRITE]); in timeout_init() 191 close(pipefd[PIPE_WRITE]); in timeout_init()
|
/dports/mail/cyrus-imapd32/cyrus-imapd-3.2.8/cunit/ |
H A D | timeout.c | 57 #define PIPE_WRITE 1 macro 177 timeout_fd = dup2(pipefd[PIPE_WRITE], 253); in timeout_init() 183 close(pipefd[PIPE_WRITE]); in timeout_init() 191 close(pipefd[PIPE_WRITE]); in timeout_init()
|
/dports/net/wireshark-lite/wireshark-3.6.1/capture/ |
H A D | capture_sync.c | 595 dup2(sync_pipe[PIPE_WRITE], 2); in sync_pipe_start() 629 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_start() 821 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 830 dup2(data_pipe[PIPE_WRITE], 1); in sync_pipe_open_command() 832 ws_close(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() 833 dup2(sync_pipe[PIPE_WRITE], 2); in sync_pipe_open_command() 835 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 866 CloseHandle(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() 867 CloseHandle(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 869 ws_close(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() [all …]
|
/dports/net/wireshark/wireshark-3.6.1/capture/ |
H A D | capture_sync.c | 595 dup2(sync_pipe[PIPE_WRITE], 2); in sync_pipe_start() 629 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_start() 821 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 830 dup2(data_pipe[PIPE_WRITE], 1); in sync_pipe_open_command() 832 ws_close(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() 833 dup2(sync_pipe[PIPE_WRITE], 2); in sync_pipe_open_command() 835 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 866 CloseHandle(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() 867 CloseHandle(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 869 ws_close(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() [all …]
|
/dports/net/tshark-lite/wireshark-3.6.1/capture/ |
H A D | capture_sync.c | 595 dup2(sync_pipe[PIPE_WRITE], 2); in sync_pipe_start() 629 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_start() 821 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 830 dup2(data_pipe[PIPE_WRITE], 1); in sync_pipe_open_command() 832 ws_close(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() 833 dup2(sync_pipe[PIPE_WRITE], 2); in sync_pipe_open_command() 835 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 866 CloseHandle(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() 867 CloseHandle(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 869 ws_close(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() [all …]
|
/dports/net/tshark/wireshark-3.6.1/capture/ |
H A D | capture_sync.c | 595 dup2(sync_pipe[PIPE_WRITE], 2); in sync_pipe_start() 629 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_start() 821 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 830 dup2(data_pipe[PIPE_WRITE], 1); in sync_pipe_open_command() 832 ws_close(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() 833 dup2(sync_pipe[PIPE_WRITE], 2); in sync_pipe_open_command() 835 ws_close(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 866 CloseHandle(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() 867 CloseHandle(sync_pipe[PIPE_WRITE]); in sync_pipe_open_command() 869 ws_close(data_pipe[PIPE_WRITE]); in sync_pipe_open_command() [all …]
|
/dports/x11/polybar/polybar-3.5.7/include/ |
H A D | common.hpp | 21 #ifndef PIPE_WRITE 22 #define PIPE_WRITE 1 macro
|
/dports/sysutils/moosefs3-netdump/moosefs-3.0.116/mfsmaster/ |
H A D | bgsaver.c | 57 #define PIPE_WRITE 1 macro 218 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,8); in bgsaver_worker() 453 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,9); in bgsaver_worker() 471 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,12); in bgsaver_worker() 914 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_disconnection_check() 931 eptr->data_pipe[PIPE_WRITE] = -1; in bgsaver_disconnection_check() 1027 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_term() 1083 univnonblock(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() 1085 univnonblock(eptr->status_pipe[PIPE_WRITE]); in bgsaver_init() 1101 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() [all …]
|
/dports/sysutils/moosefs3-client/moosefs-3.0.116/mfsmaster/ |
H A D | bgsaver.c | 57 #define PIPE_WRITE 1 macro 218 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,8); in bgsaver_worker() 453 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,9); in bgsaver_worker() 471 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,12); in bgsaver_worker() 914 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_disconnection_check() 931 eptr->data_pipe[PIPE_WRITE] = -1; in bgsaver_disconnection_check() 1027 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_term() 1083 univnonblock(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() 1085 univnonblock(eptr->status_pipe[PIPE_WRITE]); in bgsaver_init() 1101 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() [all …]
|
/dports/sysutils/moosefs3-chunkserver/moosefs-3.0.116/mfsmaster/ |
H A D | bgsaver.c | 57 #define PIPE_WRITE 1 macro 218 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,8); in bgsaver_worker() 453 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,9); in bgsaver_worker() 471 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,12); in bgsaver_worker() 914 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_disconnection_check() 931 eptr->data_pipe[PIPE_WRITE] = -1; in bgsaver_disconnection_check() 1027 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_term() 1083 univnonblock(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() 1085 univnonblock(eptr->status_pipe[PIPE_WRITE]); in bgsaver_init() 1101 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() [all …]
|
/dports/sysutils/moosefs3-cgi/moosefs-3.0.116/mfsmaster/ |
H A D | bgsaver.c | 57 #define PIPE_WRITE 1 macro 218 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,8); in bgsaver_worker() 453 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,9); in bgsaver_worker() 471 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,12); in bgsaver_worker() 914 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_disconnection_check() 931 eptr->data_pipe[PIPE_WRITE] = -1; in bgsaver_disconnection_check() 1027 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_term() 1083 univnonblock(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() 1085 univnonblock(eptr->status_pipe[PIPE_WRITE]); in bgsaver_init() 1101 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() [all …]
|
/dports/sysutils/moosefs3-cgiserv/moosefs-3.0.116/mfsmaster/ |
H A D | bgsaver.c | 57 #define PIPE_WRITE 1 macro 218 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,8); in bgsaver_worker() 453 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,9); in bgsaver_worker() 471 writeall(eptr->status_pipe[PIPE_WRITE],auxbuff,12); in bgsaver_worker() 914 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_disconnection_check() 931 eptr->data_pipe[PIPE_WRITE] = -1; in bgsaver_disconnection_check() 1027 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_term() 1083 univnonblock(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() 1085 univnonblock(eptr->status_pipe[PIPE_WRITE]); in bgsaver_init() 1101 close(eptr->data_pipe[PIPE_WRITE]); in bgsaver_init() [all …]
|