diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-06-19 16:43:45 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-06-19 16:43:45 +0000 |
commit | a1b53eda6cd1e6144bdc362d5a4e287dbf19d9fb (patch) | |
tree | 4f25817fccd6ed95d1b91d5332668c132229671d /doc | |
parent | 0e86d31f6091903510fc5e6be2d0dea6ff54b1c8 (diff) | |
download | skalibs-a1b53eda6cd1e6144bdc362d5a4e287dbf19d9fb.tar.gz skalibs-a1b53eda6cd1e6144bdc362d5a4e287dbf19d9fb.tar.xz skalibs-a1b53eda6cd1e6144bdc362d5a4e287dbf19d9fb.zip |
Fix cspawn signature in doc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libstddjb/cspawn.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/libstddjb/cspawn.html b/doc/libstddjb/cspawn.html index 5a19d9a..73096df 100644 --- a/doc/libstddjb/cspawn.html +++ b/doc/libstddjb/cspawn.html @@ -41,7 +41,7 @@ otherwise. <h3> Primitive </h3> <p> -<code> pid_t cspawn (char const *file, char const *const *argv, char const *const *envp, uint32_t flags, cspawn_fileaction const *fa, size_t n) </code> <br> +<code> pid_t cspawn (char const *file, char const *const *argv, char const *const *envp, uint16_t flags, cspawn_fileaction const *fa, size_t n) </code> <br> Forks and execs a child as with <tt>exec_ae(file, argv, envp)</tt>. Returns 0 if it fails, and the pid of the child if it succeeds. Before execing, the following operations are performed in the child: @@ -126,7 +126,7 @@ variable as a comma-separated list of integers. </li> </ul> <p> -<code> pid_t gcspawn (char const *file, char const *const *argv, char const *const *envp, uint32_t flags, cspawn_fileaction const *fa, size_t n) </code> <br> +<code> pid_t gcspawn (char const *file, char const *const *argv, char const *const *envp, uint16_t flags, cspawn_fileaction const *fa, size_t n) </code> <br> Like <tt>cspawn</tt>, but <em>argv</em> will be running as a grandchild of the current process. The function forks once, invokes <tt>cspawn</tt> from the child, and the child exits after passing the grandchild's pid to the parent. |