Language

Os.FcntlInt(FileDescriptor, Int32, Int32) Method

Definition

See fcntl(2).

[Android.Runtime.Register("fcntlInt", "(Ljava/io/FileDescriptor;II)I", "", ApiSince=30)]
public static int FcntlInt(Java.IO.FileDescriptor fd, int cmd, int arg);
[<Android.Runtime.Register("fcntlInt", "(Ljava/io/FileDescriptor;II)I", "", ApiSince=30)>]
static member FcntlInt : Java.IO.FileDescriptor * int * int -> int

Parameters

fd
FileDescriptor

The file descriptor to control.

cmd
Int32

The file-control command, which determines how arg is used.

arg
Int32

The integer argument passed to the command. Some commands do not use this argument.

Returns

The command-dependent result of the file-control operation.

Attributes

Remarks

See fcntl(2).

Java documentation for android.system.Os.fcntlInt(java.io.FileDescriptor, int, 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