XtSessionGetToken(3) XT FUNCTIONS XtSessionGetToken(3)

# [NAME](#NAME)

XtSessionGetToken, XtSessionReturnToken - token management for checkpointing

# [SYNTAX](#SYNTAX)

#include &lt;X11/Intrinsic.h&gt;

XtCheckpointToken XtSessionGetToken(Widget *w*);

void XtSessionReturnToken(XtCheckpointToken *token*);

# [ARGUMENTS](#ARGUMENTS)

[*w*](#w)

Specifies the session widget.

[*token*](#token)

Specifies the token to be returned.

# [DESCRIPTION](#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](#SEE_ALSO)

*X Toolkit Intrinsics - C Language Interface*  
*Xlib - C Language X Interface*

libXt 1.3.1 X Version 11

---

Document: XtSessionGetToken(3) from libxt 1.3.1-r8 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxt.git
