Mono Class Library: Mono.Unix.Native.Syscall Overview | Members

Mono.Unix.Native.Syscall.dup2 Method

dup2 duplicates a file descriptor to another specified file descriptor. If the destination file descriptor is already used, it is closed. The two descriptors share all (ie. file locks, position, etc.) but the close-on-exec flag. [Edit]

public static int dup2 (int fd, int fd2)

Parameters

fd
Documentation for this section has not yet been entered. [Edit]
fd2
Documentation for this section has not yet been entered. [Edit]

Returns

Documentation for this section has not yet been entered. [Edit]

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0