screen_unref_window()
Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities
Remove a reference from a specified window
Synopsis:
#include <screen/screen.h>
int screen_unref_window(screen_window_t win)
Arguments:
- win
- The handle of the window for which the reference is to be removed.
Library:
libscreenDescription:
Function Type: Immediate Execution
This function removes a reference to a window. When a window is being referenced, its buffers cannot be destroyed until all references to that window have been removed.
Returns:
0
if successful, or -1
if an error occurred (errno
is set; refer to errno.h
for more details).
Page updated: