DOKK / manpages / debian 12 / libmawk1 / libmawk_cell_destroy.3libmawk.en
LIBMAWK_CELL_DESTROY(3libmawk) libmawk manual LIBMAWK_CELL_DESTROY(3libmawk)

libmawk_cell_destroy - free all memory associated with a cell

#include <libmawk.h>

void libmawk_cell_destroy(mawk_state_t *m, CELL *c);

The libmawk_cell_destroy() function frees all memory allocated to store a mawk cell. It is useful with some of the libmawk calls that return a newly allocated cell, such as the libmawk_call_function() call.

Argument m is a libmawk context previously returned by libmawk_initialize() or libmawk_initialize_stage3().

libmawk_initialize_stage(3libmawk), libmawk_initialize(3libmawk), libmawk_call_function(3libmawk).

2009-08-12 libmawk