XtSessionGetToken(3) XT FUNCTIONS XtSessionGetToken(3)NAME
XtSessionGetToken, XtSessionReturnToken - token management for checkpointing
SYNTAX
XtCheckpointToken XtSessionGetToken(Widget w, int type);
void XtSessionReturnToken(XtCheckpointToken token);
ARGUMENTS
w Specifies the session widget.
type Specifies the value in the type field of the token.
token Specifies the token to be returned.
DESCRIPTION
The XtSessionGetToken function will return NULL if the checkpoint operation instigated by the session manager is not currently under way.
To indicate the completion of a deferred save operation and to return the checkpoint token use XtSessionReturnToken.
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.0.5 XtSessionGetToken(3)
Check Out this Related Man Page
Blt_TreeReleaseToken(3) BLT Library Procedures Blt_TreeReleaseToken(3)__________________________________________________________________________________________________________________________________________________NAME
Blt_TreeReleaseToken - Releases token associated with tree object.
SYNOPSIS
#include <bltTree.h>
int
Blt_TreeReleaseToken(token)
ARGUMENTS
Blt_Tree *token (in) Token of tree to be released.
_________________________________________________________________DESCRIPTION
This procedure releases the token associated with a C-based tree data object. When all outstanding tokens for a tree data object have been
released, then the data object itself will be freed. The arguments are as follows:
token Token of the tree data object to be released. This token was initialized either by Tcl_TreeGetToken or Blt_TreeCreate earlier.
RETURNS
Nothing.
EXAMPLE
The following example creates and then releases a new token.
Blt_Tree token;
if (Blt_TreeCreate(interp, "myTree", &token) != TCL_OK) {
return TCL_ERROR;
}
printf("tree is %s
", Blt_TreeName(token));
/* Tree will be destroyed when the token is released. */
Blt_TreeReleaseToken(token);
KEYWORDS
tree, token
BLT 2.4 Blt_TreeReleaseToken(3)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)