Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/d/dlclose.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/d/dlclose.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/d/dlclose.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/d/dlclose.html on line 8
Close a shared object
#include <dlfcn.h>
int dlclose( void *handle );
- handle
- A handle for a shared object, returned by
dlopen().
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The dlclose() function disassociates a shared object opened by
dlopen() from the calling
process. An object's symbols are no longer available after it's been closed
with dlclose(). All objects loaded as a result of the closed
objects dependencies are also closed.
The handle argument is the value returned by a previous call to
dlopen().
|
The dlclose() function is available only to dynamically
linked processes. |
0 for success, or a nonzero value if an error occurs.
If an error occurs, more detailed diagnostic information is available
from dlerror().
POSIX 1003.1 XSI
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
An object won't be removed from the address space until all references to
that object (via dlopen() or dependencies from other objects)
have been closed.
Referencing a symbol in a closed object can cause undefined behavior.
dladdr(),
dlerror(),
dlopen(),
dlsym()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/d/dlclose.html on line 145
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/d/dlclose.html on line 145