| 197 | /* wrapper for close() that also waits for FD if non blocking. */ |
| 198 | |
| 199 | extern bool |
| 200 | close_wait (int fd) |
| 201 | { |
| 202 | while (wait_for_nonblocking_write (fd)) |
| 203 | ; |
| 204 | return close (fd) == 0; |
| 205 | } |
| 206 | |
| 207 | |
| 208 | /* wrapper for write() that also waits for FD if non blocking. */ |
no test coverage detected