Language

Os.Sysconf(Int32) Method

Definition

See sysconf(3).

[Android.Runtime.Register("sysconf", "(I)J", "")]
public static long Sysconf(int name);
[<Android.Runtime.Register("sysconf", "(I)J", "")>]
static member Sysconf : int -> int64

Parameters

name
Int32

The SC* selector for the limit or feature to query.

Returns

The configuration value, or -1 when the limit is indeterminate or a recognized feature is not supported. On Android 5 through 9, an unrecognized selector also returns -1; on Android 10 and later, it throws an ErrnoException.

Attributes

Remarks

See sysconf(3).

Java documentation for android.system.Os.sysconf(int).

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