diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-11 19:47:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-11 19:47:26 +0000 |
commit | 170480a068841398b5538ae0598fbfda0e7789b5 (patch) | |
tree | a7eaecd34451c99725fed8f967cd35a083f601d3 /src/include | |
parent | 1b0fce052f0adf2e4f3da7762cd9f4885a5d9da8 (diff) | |
download | skalibs-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.h | 5 |
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 |