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

Function x_child_exit

modules/examples/mod_example_hooks.c:830–844  ·  view source on GitHub ↗

* All our process-death routine does is add its trace to the log. */

Source from the content-addressed store, hash-verified

828 * All our process-death routine does is add its trace to the log.
829 */
830static apr_status_t x_child_exit(void *data)
831{
832 char *note;
833 server_rec *s = data;
834 char *sname = s->server_hostname;
835
836 /*
837 * The arbitrary text we add to our trace entry indicates for which server
838 * we're being called.
839 */
840 sname = (sname != NULL) ? sname : "";
841 note = apr_pstrcat(s->process->pool, "x_child_exit(", sname, ")", NULL);
842 trace_startup(s->process->pool, s, NULL, note);
843 return APR_SUCCESS;
844}
845
846/*
847 * All our process initialiser does is add its trace to the log.

Callers

nothing calls this directly

Calls 1

trace_startupFunction · 0.85

Tested by

no test coverage detected