XvSessionRestorePath()(3X) — Subroutines
NAME
XvSessionRestorePath — returns the path for an application to restore session information from.
SYNOPSIS
#include <Xv/Session.h> Boolean XvSessionRestorePath(widget, ∗∗restorePath, ∗∗restoreFile)
Widgetwidget;
char∗∗restorePath;
char∗restoreFile;
ARGUMENTS
widgetSpecifies the application’s top level widget.
restorePath
Returns the path for the application to restore from.
restoreFile
Specifies the file name to be restored. Given to application in -session option at startup.
DESCRIPTION
XvSessionRestorePath returns a path for an application to restore session information from. restorePath is the fully qualified path including name of the file. restoreFile is the file name (no path) which was saved on the command line using a -session option.
RETURN VALUE
Returns True if the path can be created and the memory allocated, False otherwise. savePath is malloc’d by the routine, and the memory for it needs to be freed (using XtFree).
ORIGIN
Hewlett-Packard Company