Os.Dup2(FileDescriptor, 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 dup2(2).
[Android.Runtime.Register("dup2", "(Ljava/io/FileDescriptor;I)Ljava/io/FileDescriptor;", "")]
public static Java.IO.FileDescriptor? Dup2 (Java.IO.FileDescriptor? oldFd, int newFd);
[<Android.Runtime.Register("dup2", "(Ljava/io/FileDescriptor;I)Ljava/io/FileDescriptor;", "")>]
static member Dup2 : Java.IO.FileDescriptor * int -> Java.IO.FileDescriptor
Parameters
- oldFd
- FileDescriptor
- newFd
- Int32
Returns
- Attributes
Exceptions
Remarks
See dup2(2).
Java documentation for android.system.Os.dup2(java.io.FileDescriptor, 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.