• Max Kellermann's avatar
    fd_util: add function dup_cloexec() · 68c02fc9
    Max Kellermann authored
    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.
    68c02fc9
fd_util.c 5.63 KB