Skip to content

docs(io): point DupFlags at dup3, not dup2 - #1753

Open
ComixHe wants to merge 1 commit into
bytecodealliance:mainfrom
ComixHe:main
Open

ComixHe wants to merge 1 commit into
bytecodealliance:mainfrom
ComixHe:main

Conversation

@ComixHe

@ComixHe ComixHe commented Nov 25, 2026

Copy link
Copy Markdown

dup2 takes no flags; DupFlags::CLOEXEC is only consumed by dup3.

dup2 takes no flags; DupFlags::CLOEXEC is only consumed by dup3.

Signed-off-by: Yuming He <ComixHe1895@outlook.com>
@xtqqczze

Copy link
Copy Markdown
Contributor

Right, libc::dup2 does indeed take no flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants