# LINKER - [Overview](#section130839916165622) - [Summary](#section1847008323165622) - [Files](#files) - [Macros](#define-members) - [Functions](#func-members) - [Details](#section2035573446165622) - [Function](#section1817236284165622) - [dlclose\(\)](#gaf483b6c4400965aa885f9f1a144138a5) - [dlerror\(\)](#ga541c343ae5cdf90926014c65972c86cc) - [dlopen\(\)](#gad559be443b3edb0af8835d6ec2c29a3a) - [dlsym\(\)](#ga84cb8784df910bfcc3002dc5e9e2f406) ## **Overview** **Description:** Provides functions and structures related to linking and loading. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Files
Provides functions and structures related to linking and loading. |
All undefined symbols in the shared object are not resolved before dlopen() returns. |
|
All undefined symbols in the shared object are resolved before dlopen() returns. |
|
The shared object is not loaded. It can be used to test whether the object resides in the memory. |
|
The shared object is not deleted during dlclose(). |
|
The symbols defined by the loaded shared object can be resolved by other shared objects opened later. |
|
The symbols defined by the loaded shared object cannot be resolved by other shared objects opened later. |
|
The next match of the required symbol is searched in the search order after the current object. |
|
The first match of the required symbol is searched in the default shared object search order. The search scope includes the global symbols of the program and its dependencies, and the global symbols loaded by the dlopen() function. |
|
The pointer to the link_map structure of the specified handle. |
dlclose (void *handle) |
|
dlerror (void) |
Obtains the latest error that occurred during a DLL function execution failure. |
dlopen (const char *filename, int flags) |
|
dlsym (void *handle, const char *symbol) |
| handle | Indicates the loaded DLL handle. |
| filename | Indicates the pointer to the file name of the DLL. |
| flags | Indicates the flag of the DLL to be loaded. |
| handle | Indicates the loaded DLL handle. |
| symbol | Indicates the symbol name. |