rotatory_start_up()

rotatory_start_up()#

rotatory_start_up() initializes the rotatory logging system, ensuring it is only initialized once and registering cleanup functions.

Prototype

int rotatory_start_up(void);

Parameters

Key

Type

Description

-

-

This function does not take any parameters.


Return Value

Returns 0 on success, or -1 if the rotatory system is already initialized.

Notes

This function registers rotatory_end() with atexit() to ensure proper cleanup.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples