screen_destroy_group()

Destroys a window group.

Synopsis:

#include <screen/screen.h>

int screen_destroy_group(screen_group_t grp);

Arguments:

grp
The screen_group_t instance to destroy. The screen_group_t instance must have been created with the screen_create_group() function.

Library

screen

Description

Destroys a window group given a screen_group_t instance. When a window group is destroyed, all windows that belonged to the group are no longer associated with the group. You should destroy each screen_group_t after it is no longer needed.

Returns

0
The function succeeded and the group was destroyed.
-1
An error occurred (errno is set).

Classification

QNX Screen

Safety Value
Interrupt handler No
Signal handler No
Thread Yes