PEXGetNameSet - Get Name Set (5.0)


Synopsis

     Status PEXGetNameSet(
               Display *display,
               PEXNameSet nameset,
               unsigned long *count_return,
               PEXName **names_return
       )

Arguments

display
A pointer to a display structure returned by a successful XOpenDisplay call.
nameset
The resource identifier of the name set to be queried.
count_return
Returns the number of names.
names_return
Returns an array of names.

Returns

Zero if unsuccessful; non-zero otherwise.

Description

Invoke PEXGetNameSet to get the names in the specified name set.

PEXlib allocates memory for the return value. Invoke XFree to deallocate the memory.

Errors

BadPEXNameSet
The specified name set resource identifier is invalid.

See Also

For an overview, see Name Set.