new helper: replace_fd()
analog of dup2(), except that it takes struct file * as source.
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
parent
fe17f22d
Please register or sign in to comment
analog of dup2(), except that it takes struct file * as source.
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>