dlopen 常量
如果在操作系统上可用,则在 os.constants.dlopen 中导出以下常量。
有关详细信息,请参阅 dlopen(3)。
| 常量 | 描述 | 
|---|---|
RTLD_LAZY | 
    执行延迟绑定。 Node.js 默认设置这个标志。 | 
RTLD_NOW | 
    在 dlopen(3) 返回之前解析库中所有未定义的符号。 | 
RTLD_GLOBAL | 
    库定义的符号将可用于随后加载的库的符号解析。 | 
RTLD_LOCAL | 
    RTLDGLOBAL 的反义。
如果未指定任何标志,则这是默认行为。 | 
  
RTLD_DEEPBIND | 
    使自包含库优先使用自己的符号而不是来自先前加载的库的符号。 | 
If available on the operating system, the following constants
are exported in os.constants.dlopen. See dlopen(3) for detailed
information.
| Constant | Description | 
|---|---|
RTLD_LAZY | 
    Perform lazy binding. Node.js sets this flag by default. | 
RTLD_NOW | 
    Resolve all undefined symbols in the library before dlopen(3) returns. | 
RTLD_GLOBAL | 
    Symbols defined by the library will be made available for symbol resolution of subsequently loaded libraries. | 
RTLD_LOCAL | 
    The converse of RTLD_GLOBAL. This is the default behavior
    if neither flag is specified. | 
  
RTLD_DEEPBIND | 
    Make a self-contained library use its own symbols in preference to symbols from previously loaded libraries. |