(Translated by https://www.hiragana.jp/)
Xlib Programming Manual: XMakeAssoc

XMakeAssoc

Syntax

XMakeAssoc(display, table, x_id, data)
      Display *display;
      XAssocTable *table;	
      XID x_id;
      char *data;

Arguments

display Specifies the connection to the X server.
table Specifies the assoc table.
x_id Specifies the X resource ID.
data Specifies the data to be associated with the X resource ID.

Description

The XMakeAssoc() function inserts data into an XAssocTable keyed on an XID. Data is inserted into the table only once. Redundant inserts are ignored. The queue in each association bucket is sorted from the lowest XID to the highest XID.

See also

"Compatibility Functions".
Christophe Tronche, ch@tronche.com