PEXChangeNameSet(3) — Subroutines
Name
PEXChangeNameSet - Change Name Set
Synopsis
void PEXChangeNameSet(Display ∗display, PEXNameSet nameset, int action, unsigned long count, PEXName ∗names)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
namesetThe resource identifier of the name set.
actionType of change to be made (PEXNSAdd, PEXNSRemove, PEXNSReplace).
countThe number of names.
namesAn array of names.
Returns
None
Description
This function modifies the specified name set resource. The list of names is added to the name set if the specified action is PEXNSAdd, removed from the name set if the specified action is PEXNSRemove, or used to replace the names currently in the name set if the specified action is PEXNSReplace. If requested to remove a name that does not exist, it is silently ignored.
Data Structures
typedef XID PEXNameSet;
typedef unsigned long PEXName;
Errors
BadPEXNameSet
The specified name set resource identifier is invalid.
BadValueThe specified value for action parameter is invalid.
See Also
PEXCreateNameSet, PEXGetNameSet