Copyright (C) 2000-2012 |
Manpages XSaveContextSection: XLIB FUNCTIONS (3X11)Updated: Release 6.5 Index Return to Main Contents NAMEXSaveContext, XFindContext, XDeleteContext, XUniqueContext - associative look-up routinesSYNTAXint XSaveContext(display, rid, context, data)Display *display; XID rid; XContext context; XPointer data;
int XFindContext(display, rid, context, data_return)
int XDeleteContext(display, rid, context)
ARGUMENTS
DESCRIPTIONIf an entry with the specified resource ID and type already exists, XSaveContext overrides it with the specified context. The XSaveContext function returns a nonzero error code if an error has occurred and zero otherwise. Possible errors are XCNOMEM (out of memory).Because it is a return value, the data is a pointer. The XFindContext function returns a nonzero error code if an error has occurred and zero otherwise. Possible errors are XCNOENT (context-not-found). The XDeleteContext function deletes the entry for the given resource ID and type from the data structure. This function returns the same error codes that XFindContext returns if called with the same arguments. XDeleteContext does not free the data whose address was saved. The XUniqueContext function creates a unique context type that may be used in subsequent calls to XSaveContext. SEE ALSOXlib - C Language X Interface
IndexThis document was created by man2html, using the manual pages. Time: 20:03:10 GMT, March 28, 2024 |