--- libelwix/inc/elwix/apio.h 2013/12/05 15:13:57 1.1.2.4 +++ libelwix/inc/elwix/apio.h 2013/12/05 15:38:14 1.1.2.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: apio.h,v 1.1.2.4 2013/12/05 15:13:57 misho Exp $ +* $Id: apio.h,v 1.1.2.5 2013/12/05 15:38:14 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -84,6 +84,14 @@ int e_pclose(FILE *iop); * return: NULL error or !=NULL tagPIOPID structure */ struct tagPIOPID *pio_pgetpid(FILE * __restrict iop); +/* + * pio_pchkpid() - Check exit status of child programs + * + * @pids = return tagPIOPID structures of exited programs, + * if !=NULL must call array_Destroy() + * return: -1 error or >-1 exited programs + */ +int pio_pchkpid(array_t ** __restrict pids); #endif