blob: f0de0a395d3a8d782d75a0b2170f49d259fd3a3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef _IXIMIUZ_POPEN2
#define _IXIMIUZ_POPEN2
#include<stdio.h>
//https://github.com/iximiuz/popen2
//https://iximiuz.com/en/posts/how-to-on-processes/
struct files_t {
FILE *in;
FILE *out;
};
struct files_t *popen2(const char *command);
int pclose2(struct files_t *fp);
#endif // _IXIMIUZ_POPEN2
|