aboutsummaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-24 20:29:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-24 20:29:34 +0000
commit9cb8f6e3b7549b1f279f6de34a97c0e568f4d148 (patch)
treec6d3ea0dfb43a1c3d031abd685e320e3f4fd3da8 /debug.c
parentchangelog: change "control- and escape sequences" to "escape sequences" (diff)
spawn: handle custom stdin/stdout/stderr fds being the same
Allow the caller to pass the same FD (for example, a single /dev/null FD) to spawn(). All we need to do to handle this correctly is ensure we don’t try to close the same FD multiple times.
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions