Os.Lseek(FileDescriptor, Int64, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
See lseek(2).
[Android.Runtime.Register("lseek", "(Ljava/io/FileDescriptor;JI)J", "")]
public static long Lseek(Java.IO.FileDescriptor? fd, long offset, int whence);
[<Android.Runtime.Register("lseek", "(Ljava/io/FileDescriptor;JI)J", "")>]
static member Lseek : Java.IO.FileDescriptor * int64 * int -> int64
Parameters
The descriptor whose file offset is changed.
- offset
- Int64
The byte offset relative to the origin selected by whence.
- whence
- Int32
The offset origin, such as SEEK_SET, SEEK_CUR or SEEK_END.
Returns
The resulting file offset, in bytes from the start of the file.
- Attributes
Exceptions
Remarks
See lseek(2).
Java documentation for android.system.Os.lseek(java.io.FileDescriptor, long, 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.