deal with signals */
| 429 | /* deal with signals |
| 430 | */ |
| 431 | static apr_status_t sock_write(int fd, const void *buf, size_t buf_size) |
| 432 | { |
| 433 | int rc; |
| 434 | |
| 435 | do { |
| 436 | rc = write(fd, buf, buf_size); |
| 437 | } while (rc < 0 && errno == EINTR); |
| 438 | if (rc < 0) { |
| 439 | return errno; |
| 440 | } |
| 441 | |
| 442 | return APR_SUCCESS; |
| 443 | } |
| 444 | |
| 445 | static apr_status_t sock_writev(int fd, int auxfd, request_rec *r, int count, ...) |
| 446 | { |
no outgoing calls
no test coverage detected