xpaatexit(3)

xpaatexit3

Install exit handler

Usage

  #include <xpa.h>
  void XPAAtExit(void);

Overview

XPAAtExit() will install an exit handler using atexit() to run XPAFree on all XPA access points. This might be useful in cases where Unix sockets are being used: if an explicit call to XPAFree() is not made by the program, the Unix socket file will not be deleted immediately without an atexit handler. (NB: this call should not be made in a Tcl/Tk application. Accessing the Tcl native file system after Tcl has shut down all file systems causes the Tcl/Tl program to crash).

Releases

7 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8–10
  3. 11–13

From libxpa-dev 2.1.20-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.