Dlfcn.dlopen(String, Int32) Method

Definition

Loads the specified dynamic library into memory.

public static IntPtr dlopen (string path, int mode);
static member dlopen : string * int -> nativeint

Parameters

path
String

Path to the dynamic library.

mode
Int32

Bitmask, values defined in the Unix dlopen(2) man page.

Returns

IntPtr

nativeint

The handle to the library, or IntPtr.Zero on failure.

Applies to