strm_dict_destroy()

Updated: May 06, 2022

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).