| 151 | */ |
| 152 | |
| 153 | void |
| 154 | cupsdClosePipe(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 | /* |
no outgoing calls
no test coverage detected