PEXGetWorkstationPostings(3) — Subroutines
Name
PEXGetWorkstationPostings - Get Workstation Postings
Synopsis
Status PEXGetWorkstationPostings(Display ∗display, PEXStructure structure, unsigned long ∗count_return, PEXWorkstation ∗∗postings_return)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
structureThe resource identifier of the structure.
count_returnReturns the number of workstation identifiers.
postings_return
Returns an array of workstation resource identifiers.
Returns
Zero if unsuccessful, non-zero otherwise.
Description
This function returns a list of workstation resources to which the specified structure has been posted.
PEXlib allocates memory for the return value. XFree should be called to deallocate the memory.
Data Structures
typedef XID PEXStructure;
typedef XID PEXWorkstation;
Errors
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXPostStructure, PEXUnpostStructure, PEXUnpostAllStructures