--- libaitio/inc/aitio.h 2013/12/05 12:43:03 1.38.10.2 +++ libaitio/inc/aitio.h 2013/12/05 14:12:25 1.38.10.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.38.10.2 2013/12/05 12:43:03 misho Exp $ +* $Id: aitio.h,v 1.38.10.3 2013/12/05 14:12:25 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -130,6 +130,24 @@ typedef struct { int io_GetErrno(); // io_GetError() Get error text of last operation const char *io_GetError(); + + +/* + * io_popen() - ELWIX replacement of standard popen + * + * @command = command + * @type = type + * @ppid = return pid of child program + * return: NULL error or !=NULL open program + */ +FILE *io_popen(const char *command, const char *type, pid_t *ppid); +/* + * io_pclose() - ELWIX replacement of standard pclose + * + * @iop = popen handle + * return: -1 error or !=-1 pid status + */ +int io_pclose(FILE *iop); /*