PEXGetNameSet(3) — Subroutines
Name
PEXGetNameSet - Get Name Set
Synopsis
Status PEXGetNameSet(Display ∗display, PEXNameSet nameset, unsigned long ∗count_return, PEXName ∗∗names_return)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
namesetThe resource identifier of the name set to be queried.
count_returnReturns the number of names.
names_return
Returns an array of names.
Returns
Zero if unsuccessful; non-zero otherwise.
Description
This function returns the names in the specified name set.
PEXlib allocates memory for the return value. XFree should be called to deallocate the memory.
Data Structures
typedef XID PEXNameSet;
typedef unsigned long PEXName;
Errors
BadPEXNameSet
The specified name set resource identifier is invalid.
See Also
PEXCreateNameSet, PEXChangeNameSet