fd_util: add function dup_cloexec()
Unfortunately, there's no "optimized" implementation here. We can't
use Linux's proprietary system call dup3(), because it would require
us to specify the new descriptor.
Showing
Please
register
or
sign in
to comment