XDeleteAssoc()XDeleteAssoc()NameXDeleteAssoc – delete an entry from an association table.
Synopsis
XDeleteAssoc(display, table, x_id)
Display *display;
XAssocTable *table;
XID x_id;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
table Specifies one of the association tables created by
XCreateAssocTable.
x_id Specifies the X resource ID of the association to be deleted.
Description
This function is provided for compatibility with X Version 10. To use
it you must include the file <X11/X10.h> and link with the library
-loldX.
XDeleteAssoc() deletes an association in an XAssocTable keyed on its
XID. Redundant deletes (and deletes of nonexistent XID's) are meaning‐
less and cause no problems. Deleting associations in no way impairs
the performance of an XAssocTable.
For more information on association tables, see Volume One, Appendix B,
X10 Compatibility.
Structures
typedef struct {
XAssoc *buckets; /* pointer to first bucket in array */
int size; /* table size (number of buckets) */
} XAssocTable;
See AlsoXCreateAssocTable(), XDestroyAssocTable(), XLookUpAssoc(), XMakeAs‐
soc().
Xlib - Association Tables XDeleteAssoc()