home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / rcs57pc3.zip / diff / pc / popen.h < prev   
C/C++ Source or Header  |  1998-10-11  |  429b  |  28 lines

  1. /* popen.h
  2.  *
  3.  * Author:  Kai Uwe Rommel <rommel@ars.de>
  4.  * Created: Wed Aug 23 1995
  5.  */
  6.  
  7. /* $Id$ */
  8.  
  9. /*
  10.  * $Log$ 
  11.  */
  12.  
  13. #ifndef _POPEN_H
  14. #define _POPEN_H
  15.  
  16. #define MAXPIPES 256
  17.  
  18. FILE *popen(const char *cmd, const char *mode);
  19. int pclose(FILE *pipe);
  20. int pipe(int *handles);
  21.  
  22. FILE *fake_popen(const char *cmd, const char *mode);
  23. int fake_pclose(FILE *pipe);
  24.  
  25. #endif /* _POPEN_H */
  26.  
  27. /* end of popen.h */
  28.