Os.Open(String, Int32, 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 open(2).
[Android.Runtime.Register("open", "(Ljava/lang/String;II)Ljava/io/FileDescriptor;", "")]
public static Java.IO.FileDescriptor? Open(string? path, int flags, int mode);
[<Android.Runtime.Register("open", "(Ljava/lang/String;II)Ljava/io/FileDescriptor;", "")>]
static member Open : string * int * int -> Java.IO.FileDescriptor
Parameters
- path
- String
The path of the file to open or create.
- flags
- Int32
The access mode and flags that control opening the file.
- mode
- Int32
The permission bits used when a new file is created, subject to the process's file-creation mask.
Returns
A file descriptor for the opened file.
- Attributes
Exceptions
Remarks
See open(2).
Java documentation for android.system.Os.open(java.lang.String, 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.