Mono Class Library: Mono.Unix.Native.NativeConvert Overview | Members

Mono.Unix.Native.NativeConvert.TryFromMmapFlags Method

Converts a Mono.Unix.Native.MmapFlags enumeration value to an OS-specific value. [Edit]

public static bool TryFromMmapFlags (MmapFlags value, out int rval)

See Also

NativeConvert.FromMmapFlags
NativeConvert.ToMmapFlags
NativeConvert.TryToMmapFlags

Parameters

value
The managed value to convert. [Edit]
rval
The OS-specific equivalent value. [Edit]

Returns

true if the conversion was successful; otherwise, false. [Edit]

Remarks

This is an exception-safe alternative to NativeConvert.FromMmapFlags.

If successful, this method stores the OS-specific equivalent value of value into rval. Otherwise, rval will contain 0.

[Edit]

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0