screen_create_pixmap_buffer()

Send a request to Screen to create a new buffer for a pixmap

Synopsis:

#include <screen/screen.h>
int screen_create_pixmap_buffer(screen_pixmap_t pix)

Arguments:

pix
The handle of the pixmap for which a new buffer is created.

Library:

libscreen

Description:

Function Type: Flushing Execution

This function creates a buffer for a pixmap.

Before calling this function, ensure that you set:

Returns:

0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).