osf1 man page for xsavecontext

Query: xsavecontext

OS: osf1

Section: 3x11

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XSaveContext(3X11)														XSaveContext(3X11)

NAME
XSaveContext, XFindContext, XDeleteContext, XUniqueContext - associative look-up routines
SYNOPSIS
int XSaveContext(display, rid, context, data) Display *display; XID rid; XContext context; XPointer data; int XFindContext(display, rid, context, data_return) Display *display; XID rid; XContext context; XPointer *data_return; int XDeleteContext(display, rid, context) Display *display; XID rid; XContext context; XContext XUniqueContext()
ARGUMENTS
Specifies the context type to which the data belongs. Specifies the data to be associated with the window and type. Returns the data. Specifies the connection to the X server. Specifies the resource ID with which the data is associated.
DESCRIPTION
If 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 ALSO
Xlib -- C Language X Interface XSaveContext(3X11)
Related Man Pages
xdeletecontext(3x11) - redhat
xuniquecontext(3x11) - redhat
xsavecontext(3) - debian
xdeletecontext(3x11) - xfree86
xuniquecontext(3x11) - osf1
Similar Topics in the Unix Linux Community
How to ged rid of "FeedBot" ?
get rid of certain tags with mailx or sendmail
How to get rid of ^[[D
How to get rid of zombie process?
Replacing part of filename