MCPcopy Create free account
hub / github.com/apache/httpd / sock_write

Function sock_write

modules/generators/mod_cgid.c:431–443  ·  view source on GitHub ↗

deal with signals */

Source from the content-addressed store, hash-verified

429/* deal with signals
430 */
431static 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
445static apr_status_t sock_writev(int fd, int auxfd, request_rec *r, int count, ...)
446{

Callers 3

send_reqFunction · 0.85
cgid_serverFunction · 0.85
get_cgi_pidFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected