X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fpipecmd%2Fpipecmd.h;h=3c169ade32fa06694022f4f7b8fc94bf4863a615;hb=b15b3673bf0fbbff48b87bddcf402b8bcdf41c59;hp=5bbaefc01234699e23ab719d2495161f9ae1b935;hpb=d3d2242ba8d975f8d7ddaa0348953dfd6f45ffce;p=ccan diff --git a/ccan/pipecmd/pipecmd.h b/ccan/pipecmd/pipecmd.h index 5bbaefc0..3c169ade 100644 --- a/ccan/pipecmd/pipecmd.h +++ b/ccan/pipecmd/pipecmd.h @@ -20,7 +20,8 @@ * If @errfd == @outfd (and non-NULL) they will be shared. * If @infd, @outfd or @errfd is &pipecmd_preserve, it is unchanged. * - * The return value is the pid of the child, or -1. + * The return value is the pid of the child, or -1. All other file-descriptors + * are closed in the child. */ pid_t pipecmd(int *infd, int *outfd, int *errfd, const char *cmd, ...);