From 8d548a4be6fd0584f84d107fd83fb18c28ab578f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Dec 2014 22:15:03 +0000 Subject: child_spawn1 doc update --- doc/libstddjb/djbunix.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html index 0d6c89f..37235c1 100644 --- a/doc/libstddjb/djbunix.html +++ b/doc/libstddjb/djbunix.html @@ -458,12 +458,19 @@ on systems that support it.

- pid_t child_spawn1 (char const *file, char const *const *argv, char const *const *envp, int *fd, int w)
+ pid_t child_spawn1_pipe (char const *file, char const *const *argv, char const *const *envp, int *fd, int w)
Like child_spawn0(), except that a pipe is created between the child's stdin (if w is 0) or stdout (if w is nonzero) and the parent. The parent's end of the pipe will be stored in *fd.

+

+ pid_t child_spawn1_socket (char const *file, char const *const *argv, char const *const *envp, int *fd) +Like child_spawn0, except that a socket is created between the parent +and the child. Both the child's stdin and stdout point to the socket; the parent has +its end of the socket available in *fd. +

+

pid_t child_spawn (char const *file, char const *const *argv, char const *const *envp, int *fds, unsigned int nfds)
More generic spawning function. fds must point to an array of at least nfds ints; @@ -472,10 +479,8 @@ file descriptors reading from or writing to the child will be stored there. The

-- cgit v1.2.3