summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-11 19:47:26 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-11 19:47:26 +0000
commit170480a068841398b5538ae0598fbfda0e7789b5 (patch)
treea7eaecd34451c99725fed8f967cd35a083f601d3 /src/include
parent1b0fce052f0adf2e4f3da7762cd9f4885a5d9da8 (diff)
downloadskalibs-170480a068841398b5538ae0598fbfda0e7789b5.tar.xz
Add gcspawn
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/cspawn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/skalibs/cspawn.h b/src/include/skalibs/cspawn.h
index fa5c934..061fbfb 100644
--- a/src/include/skalibs/cspawn.h
+++ b/src/include/skalibs/cspawn.h
@@ -85,4 +85,9 @@ extern pid_t child_spawn3 (char const *, char const *const *, char const *const
extern pid_t child_spawn (char const *, char const *const *, char const *const *, int *, size_t) ;
+
+ /* cspawn, but running as a grandchild. Uses one fork(). */
+
+extern pid_t gcspawn (char const *, char const *const *, char const *const *, uint16_t, cspawn_fileaction const *, size_t) ;
+
#endif