Language

Os.Mlock(Int64, Int64) Method

Definition

See mlock(2).

[Android.Runtime.Register("mlock", "(JJ)V", "")]
public static void Mlock(long address, long byteCount);
[<Android.Runtime.Register("mlock", "(JJ)V", "")>]
static member Mlock : int64 * int64 -> unit

Parameters

address
Int64

The start address of the memory range to lock.

byteCount
Int64

The length of the memory range, in bytes.

Attributes

Exceptions

Remarks

See mlock(2).

Java documentation for android.system.Os.mlock(long, long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to