Closed RalfJung closed 2 weeks ago
We support duplicating file descriptors via fcntl(F_DUPFD), but nut via dup. That's a bit silly. ;) And we should probably support dup2, too.
fcntl(F_DUPFD)
dup
dup2
(It also shows up in a standard library test that directly calls dup.)
@ZoeS17 weren't you looking for a good first issue? This here would be a good one I think.
We support duplicating file descriptors via
fcntl(F_DUPFD)
, but nut viadup
. That's a bit silly. ;) And we should probably supportdup2
, too.(It also shows up in a standard library test that directly calls
dup
.)