summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/io/dup.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/io/dup.rs')
-rw-r--r--vendor/rustix/src/io/dup.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/rustix/src/io/dup.rs b/vendor/rustix/src/io/dup.rs
index 8da6aa091..97a11f35c 100644
--- a/vendor/rustix/src/io/dup.rs
+++ b/vendor/rustix/src/io/dup.rs
@@ -44,6 +44,9 @@ pub fn dup<Fd: AsFd>(fd: Fd) -> io::Result<OwnedFd> {
/// set `O_CLOEXEC`, use [`dup3`] with [`DupFlags::CLOEXEC`] on platforms which
/// support it, or [`fcntl_dupfd_cloexec`]
///
+/// For `dup2` to stdin, stdout, and stderr, see [`io::dup2_stdin`],
+/// [`io::dup2_stdout`], and [`io::dup2_stderr`].
+///
/// # References
/// - [POSIX]
/// - [Linux]