screen_destroy_session()

Destroy a session.

Synopsis:

#include <screen/screen.h>
 
int screen_destroy_session(screen_session_t ssn)

Since:

BlackBerry 10.3.0

Arguments:

ssn

The session to be destroyed. The session must have been created with screen_create_session_type().

Library:

libscreen (For the qcc command, use the -l screen option to link against this library)

Description:

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 the session was destroyed, or -1 if an error occurred (errno is set).

Last modified: 2014-11-17



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus