Updated: April 19, 2023 |
Create a session of the specified type and associate this session with a context
#include <screen/screen.h>
int screen_create_session_type(screen_session_t *pssn, screen_context_t ctx, int type)
Function Type: Immediate Execution
The screen_create_session_type() function creates an input session object to be associated with a context. Applications must use screen_destroy_session() when a session is no longer active.
0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).