---
name: "XtSessionGetToken"
section: "3x"
platform: "linux"
package: "libxt-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/XtSessionGetToken/3x"
---

# XtSessionGetToken(3x)

token management for checkpointing

## 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*
