diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-06-28 21:27:29 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-06-28 21:27:29 +0000 |
commit | 28e09b5eb76919122f8baf57899154b3dd5fdaa0 (patch) | |
tree | 21559ec98d7f0f876fa0e2a5115744e396fd68d0 /src/libstddjb/child_spawn-internal.h | |
parent | d64a3751ca805c08bfda6a330d73a09e87e993c0 (diff) | |
download | skalibs-28e09b5eb76919122f8baf57899154b3dd5fdaa0.tar.xz |
Add workaround for bad QoI posix_spawn()
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstddjb/child_spawn-internal.h')
-rw-r--r-- | src/libstddjb/child_spawn-internal.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libstddjb/child_spawn-internal.h b/src/libstddjb/child_spawn-internal.h new file mode 100644 index 0000000..b0f701c --- /dev/null +++ b/src/libstddjb/child_spawn-internal.h @@ -0,0 +1,16 @@ +/* ISC license. */ + +#ifndef CHILD_SPAWN_INTERNAL_H +#define CHILD_SPAWN_INTERNAL_H + +#include <skalibs/sysdeps.h> + +#ifdef SKALIBS_HASPOSIXSPAWNEARLYRETURN + +#include <sys/types.h> + +extern pid_t child_spawn_workaround (pid_t, int const *) ; /* closes the pipe */ + +#endif + +#endif |