strm_dict_destroy()

Updated: April 19, 2023

Destroy a dictionary handle

Synopsis:

#include <sys/strm.h>
int strm_dict_destroy(strm_dict_t *dict)

Arguments:

dict
A dictionary handle.

Library:

libstrm

Description:

This function destroys the specified dictionary handle and if this is the last handle, frees the memory allocated for the dictionary object.

Returns:

Zero on success, -1 on failure (check errno).