Dlfcn.GetNUInt(IntPtr, String) Method

Definition

Gets the nuint value exposed with the given symbol from the dynamic library.

public static nuint GetNUInt (IntPtr handle, string symbol);
static member GetNUInt : nativeint * string -> nuint

Parameters

handle
IntPtr

nativeint

Handle to the dynamic library previously opened with dlopen(String, Int32).

symbol
String

Name of the public symbol in the dynamic library to look up.

Returns

System.System.UIntPtr System.unativeint

The value from the library, or zero on failure.

Remarks

If this routine fails, it will return zero.

Applies to