X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fproc.c;h=1e8cac36eea9d92a9eea14ba0b4797e5cbe3a063;hb=cf93881dfbd7b6317d2a41f87e9751b74354203b;hp=11cb0396644548387926407913f09530e3373dcd;hpb=57a2faf4a74c65a6f12caf2d69c34e4f08c659f9;p=ngircd-alex.git diff --git a/src/ngircd/proc.c b/src/ngircd/proc.c index 11cb0396..1e8cac36 100644 --- a/src/ngircd/proc.c +++ b/src/ngircd/proc.c @@ -119,6 +119,8 @@ Proc_GenericSignalHandler(int Signal) /** * Read bytes from a pipe of a forked child process. + * In addition, this function makes sure that the child process is dead + * after all data has been read or a fatal error occurred. */ GLOBAL size_t Proc_Read(PROC_STAT *proc, void *buffer, size_t buflen)