pre_console_release

March 26, 2020

Name

pre_console_release

Synopsis

#include "hooks/core/pre_console_release.h"

| void **pre_console_release** ( | closure); |   |

void * <var class="pdparam">closure</var>;

| int **has_core_pre_console_release_hook** ( | ); |   |

| void **register_core_pre_console_release_hook_first** ( | hook, |   |
|   | closure); |   |

ec_hook_core_pre_console_release_func_t <var class="pdparam">hook</var>;
void *<var class="pdparam">closure</var>;

| void **register_core_pre_console_release_hook_last** ( | hook, |   |
|   | closure); |   |

ec_hook_core_pre_console_release_func_t <var class="pdparam">hook</var>;
void *<var class="pdparam">closure</var>;

| void **call_core_pre_console_release_hook** ( | ); |   |

Description

This hook is called immediately before the daemonization of the ecelerity process. It is the last point in time a hook is called prior to the closing of the standard input, output and error STREAMS.

As this hook is called prior to module initialization, it must be registered from the module_config_setup callout hook.