mirror of https://github.com/mkerrisk/man-pages
Noted use of atexit() to register a function that is
automatically called when a library is unloaded.
This commit is contained in:
parent
bba0618959
commit
0ed29c540c
|
@ -408,6 +408,11 @@ only when _GNU_SOURCE was defined before including it.
|
|||
.\" .in +5
|
||||
.\" .B "const char *dlerror(void);"
|
||||
.\" .in
|
||||
|
||||
Since glibc 2.2.3,
|
||||
.BR atexit (3)
|
||||
can be used to register an exit handler that is automatically
|
||||
called when a library is unloaded.
|
||||
.SH HISTORY
|
||||
The dlopen interface standard comes from SunOS. That system also has
|
||||
.BR dladdr (),
|
||||
|
|
Loading…
Reference in New Issue