XAllocIDs

Syntax

XAllocIDs(display, ids_return, count)
     Display *display;
     XID *ids_return;
     int count;

Arguments

display Specifies the connection to the X server.
ids_return Returns the resource IDs.
rep Specifies the number of resource IDs requested.

Description

This macro is a call through the Display structure to an internal resource ID allocator. It returns resource IDs to the array supplied by the caller. To correctly handle automatic reuse of resource IDs, you must call XAllocIDs() when requesting multiple resource IDs. This call might generate protocol requests.
Christophe Tronche, ch@tronche.com