Destroy a session
#include <screen/screen.h>
int screen_destroy_session(screen_session_t ssn)
Function Type: Flushing Execution
This function destroys a session given a screen_session_t instance. You must destroy each screen_session_t after it is no longer needed.
0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).