screen_destroy_session()
Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities
Destroy a session
Synopsis:
#include <screen/screen.h>
int screen_destroy_session(screen_session_t ssn)
Arguments:
- ssn
- The session to be destroyed. The session must have been created with screen_create_session_type().
Library:
libscreenDescription:
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.
Returns:
0
if successful, or -1
if an error occurred (errno
is set; refer to errno.h
for more details).
Page updated: