Annotation of libelwix/inc/elwix/apio.h, revision 1.1.2.2
1.1.2.1 misho 1: #ifndef __APIO_H
2: #define __APIO_H
3:
4:
1.1.2.2 ! misho 5: struct tagPIOPID {
! 6: FILE *fp;
! 7: pid_t pid;
! 8: int stat;
! 9:
! 10: SLIST_ENTRY(tagPIOPID) next;
! 11: };
! 12: typedef SLIST_HEAD(, tagPIOPID) pio_pid_t;
! 13:
! 14:
! 15: extern pio_pid_t pio_pidlist;
! 16:
! 17:
! 18: /*
! 19: * e_popen() - ELWIX replacement of standard popen
! 20: *
! 21: * @command = command
! 22: * @type = type
! 23: * @ppid = return pid of child program
! 24: * return: NULL error or !=NULL open program
! 25: */
! 26: FILE *e_popen(const char *command, const char *type, pid_t *ppid);
! 27: /*
! 28: * e_pclose() - ELWIX replacement of standard pclose
! 29: *
! 30: * @iop = popen handle
! 31: * return: -1 error or !=-1 pid status
! 32: */
! 33: int e_pclose(FILE *iop);
! 34:
1.1.2.1 misho 35:
36: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>