MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsdClosePipe

Function cupsdClosePipe

scheduler/file.c:153–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 */
152
153void
154cupsdClosePipe(int *fds) /* I - Pipe file descriptors (2) */
155{
156 /*
157 * Close file descriptors as needed...
158 */
159
160 if (fds[0] >= 0)
161 {
162 close(fds[0]);
163 fds[0] = -1;
164 }
165
166 if (fds[1] >= 0)
167 {
168 close(fds[1]);
169 fds[1] = -1;
170 }
171}
172
173
174/*

Callers 6

cupsd_start_notifierFunction · 0.85
pipe_commandFunction · 0.85
cupsdStopSystemMonitorFunction · 0.85
cupsdContinueJobFunction · 0.85
finalize_jobFunction · 0.85
start_jobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected