Share via


Dlfcn.dlopen Method

Definition

Overloads

Name Description
dlopen(String, Dlfcn+Mode)
dlopen(String, Int32)

Loads the specified dynamic library into memory.

dlopen(String, Dlfcn+Mode)

public static IntPtr dlopen(string? path, ObjCRuntime.Dlfcn.Mode mode);
static member dlopen : string * ObjCRuntime.Dlfcn.Mode -> nativeint

Parameters

path
String
mode
Dlfcn.Mode

Returns

IntPtr

nativeint

Applies to

dlopen(String, Int32)

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