다음을 통해 공유


Os.Dup2(FileDescriptor, Int32) Method

Definition

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

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.

Applies to