summaryrefslogtreecommitdiffstats
path: root/xpa/doc/pod/xpaatexit.pod
blob: 4310835ce9e2f675fa81bde0fa04869552afbcf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
=pod

=head1 NAME



B<XPAAtExit: install exit handler>



=head1 SYNOPSIS





  #include <xpa.h>

  void XPAAtExit(void);





=head1 DESCRIPTION




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).




=cut