MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / clean_write_pipeend

Function clean_write_pipeend

daemonize.c:193–199  ·  view source on GitHub ↗

cleans write pipe end * for processes done writing the status code * MUST be called to ensure that the original * parent process does not keep waiting forever */

Source from the content-addressed store, hash-verified

191 * MUST be called to ensure that the original
192 * parent process does not keep waiting forever */
193void clean_write_pipeend(void)
194{
195 if (status_pipe[1] != -1) {
196 close(status_pipe[1]);
197 status_pipe[1] = -1;
198 }
199}
200
201/*!
202 * \brief daemon init

Callers 4

start_module_procsFunction · 0.85
start_timer_processesFunction · 0.85
wait_for_all_childrenFunction · 0.85
daemonizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected