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

Function ap_abort_on_oom

server/util.c:3136–3150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3134 "aborting process." APR_EOL_STR;
3135
3136AP_DECLARE(void) ap_abort_on_oom(void)
3137{
3138 int written, count = strlen(oom_message);
3139 const char *buf = oom_message;
3140 do {
3141 written = write(STDERR_FILENO, buf, count);
3142 if (written == count)
3143 break;
3144 if (written > 0) {
3145 buf += written;
3146 count -= written;
3147 }
3148 } while (written >= 0 || errno == EINTR);
3149 abort();
3150}
3151
3152AP_DECLARE(void *) ap_malloc(size_t size)
3153{

Callers 8

make_conn_subpoolFunction · 0.85
abort_on_oomFunction · 0.85
c2_transit_createFunction · 0.85
ap_pregcompFunction · 0.85
ap_mallocFunction · 0.85
ap_callocFunction · 0.85
ap_reallocFunction · 0.85
abort_on_oomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected