dialog_destroy()

Destroy a dialog.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_destroy(dialog_instance_t dialog)

Arguments:

dialog
The dialog to destroy.

Library:

libbps

Description:

The dialog_destroy() function cleans up resources for the specified dialog. You can provide any type of dialog as a parameter to this function. You should call this function when the dialog isn't being used any longer.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.