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]
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
Requirements
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0