tranger2_close_rt_mem()

tranger2_close_rt_mem()#

The tranger2_close_rt_mem() function closes a real-time memory stream associated with a given TimeRanger instance.

Prototype

int tranger2_close_rt_mem(
    json_t *tranger,
    json_t *mem
);

Parameters

Key

Type

Description

tranger

json_t *

A pointer to the TimeRanger instance managing the real-time memory stream.

mem

json_t *

A pointer to the real-time memory stream to be closed.


Return Value

Returns 0 on success, or a negative value on failure.

Notes

Closing a real-time memory stream using tranger2_close_rt_mem() ensures that resources are properly released.

Prototype

// Not applicable in JS

Prototype

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