Language

Os.Readv(FileDescriptor, Object[], Int32[], Int32[]) Method

Definition

See readv(2).

[Android.Runtime.Register("readv", "(Ljava/io/FileDescriptor;[Ljava/lang/Object;[I[I)I", "")]
public static int Readv(Java.IO.FileDescriptor? fd, Java.Lang.Object[]? buffers, int[]? offsets, int[]? byteCounts);
[<Android.Runtime.Register("readv", "(Ljava/io/FileDescriptor;[Ljava/lang/Object;[I[I)I", "")>]
static member Readv : Java.IO.FileDescriptor * Java.Lang.Object[] * int[] * int[] -> int

Parameters

fd
FileDescriptor

The file descriptor to read from.

buffers
Object[]

The buffers that receive the data, in array order.

offsets
Int32[]

The starting byte offset within each corresponding buffer.

byteCounts
Int32[]

The maximum byte count for each corresponding buffer.

Returns

The total number of bytes read across the buffers, or 0 at end of file.

Attributes

Exceptions

Remarks

See readv(2).

Java documentation for android.system.Os.readv(java.io.FileDescriptor, java.lang.Object[], 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