Skip to content
Commit 8280d161 authored by Al Viro's avatar Al Viro
Browse files

new helper: replace_fd()



analog of dup2(), except that it takes struct file * as source.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent fe17f22d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment