core: Add dup, dup2.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 11 Nov 2018 09:18:50 +0000 (10:18 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 11 Nov 2018 09:18:50 +0000 (10:18 +0100)
commit35c8408df4bd682591182c34750c96b1319acf1c
tree16e1be197c9bbdbbf2dfc9e366e7bfdbf7f6cad7
parent7c63d3df4754d43ce641a21b6cd37558185c8ec2
core: Add dup, dup2.

* src/posix.c (dup_, dup2_): New function.
src/posix.c