blob: 9a04299cedcaff1f260c844100c13aae24dff5ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
** popen.h -- prototypes for pipe functions
*/
#if !defined (__DJGPP__)
# if defined (popen)
# undef popen
# undef pclose
# endif
# define popen(c, m) os_popen(c, m)
# define pclose(f) os_pclose(f)
extern FILE *os_popen( const char *, const char * );
extern int os_pclose( FILE * );
# ifdef __MINGW32__
# define system(c) os_system(c)
extern int os_system( const char * );
# endif /* __MINGW32__ */
#endif /* !__DJGPP__ */
|