mars-nwe/include/extpipe.h

17 lines
476 B
C
Raw Normal View History

2011-11-13 00:38:59 +01:00
/* extpipe.h 31-Jul-98 */
2011-11-13 00:38:59 +01:00
#ifndef _EXTPIPE_H_
#define _EXTPIPE_H_
/* enhanced pipe handling */
typedef struct {
int fds[3]; /* filedescriptor to 0,1,2 of new process */
int command_pid; /* pid of piped command */
int flags; /* special flags */
} FILE_PIPE;
extern int ext_pclose(FILE_PIPE *fp);
2011-11-13 00:38:59 +01:00
extern FILE_PIPE *ext_popen(char *command, int uid, int gid, int flags);
2011-11-13 00:38:59 +01:00
#endif