blob: b86c00f0f38292d37240738f0df04de322fa72f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
** 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 * );
# define SIGKILL 9
extern int kill( int, int );
extern char *quote_cmd( const char * );
# endif /* __MINGW32__ */
#endif /* !__DJGPP__ */
|