Destroy an event and free associated memory
#include <screen/screen.h>
int screen_destroy_event(screen_event_t ev)
Function Type: Immediate Execution
This function frees the memory allocated to hold an event. The event can no longer be used as an argument in subsequent Screen API calls.
0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).