Query: xsavecontext
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XSaveContext() XSaveContext()
Name
XSaveContext - save a data value corresponding to a resource ID and context type (not graphics context).
Synopsis
int XSaveContext(display, rid, context, data)
Display *display;
XID rid;
XContext context;
caddr_t data;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
rid Specifies the ID of the resource with which the data is associated.
context Specifies the context type to which the data corresponds.
data Specifies the data to be associated with the resource and context.
Returns
XCNOMEM (a non-zero error code) if an error has occurred or zero (0) otherwise.
Description
XSaveContext() saves data to the context manager database, according to the specified resource and context ID. The context manager is used
for associating data with windows within an application. The client must have called XUniqueContext() to get the context ID before calling
this function. The meaning of the data is indicated by the context ID, but is completely up to the client.
If an entry with the specified resource and context ID already exists, XSaveContext() writes over it with the specified data.
The XSaveContext() function returns XCNOMEM (a non-zero error code) if an error has occurred and zero (0) otherwise. For more information,
see the description of the context manager in Volume One, Chapter 15, Other Programming Techniques.
Structures
typedef int XContext;
See Also
XDeleteContext(), XFindContext(), XUniqueContext().
Xlib - Context Manager XSaveContext()
| Related Man Pages |
|---|
| xfindcontext(3) - debian |
| xuniquecontext(3) - debian |
| xfindcontext(3) - centos |
| xsavecontext(3) - centos |
| xsavecontext(3x11) - osf1 |
| Similar Topics in the Unix Linux Community |
|---|
| Unix File Permissions |
| Hpux 11iV3 administration document |
| Thank you members and admins |
| Seeking Alternative for diff in hp |
| Shopt -s histappend |