00001 /* @file psPipe.h 00002 * @brief 3-stream pipe 00003 * 00004 * @author EAM, IfA 00005 * 00006 * @version $Revision: 1.2 $ $Name: $ 00007 * @date $Date: 2007/01/24 02:54:15 $ 00008 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii 00009 */ 00010 00011 #ifndef PS_PIPE_H 00012 #define PS_PIPE_H 00013 00014 /// @addtogroup Extras Miscellaneous Funtions 00015 /// @{ 00016 00017 // move these to pslib?? 00018 typedef struct 00019 { 00020 int pid; 00021 int fd_stdin; 00022 int fd_stdout; 00023 int fd_stderr; 00024 } 00025 psPipe; 00026 00027 // psPipe functions 00028 psPipe *psPipeAlloc (); 00029 psPipe *psPipeOpen (char *command); 00030 int psPipeClose (psPipe *pipe); 00031 00032 /// @} 00033 # endif
1.5.1