]> arthur.barton.de Git - netdata.git/blob - src/popen.h
splitted netdata to multiple source files
[netdata.git] / src / popen.h
1 #include <stdio.h>
2 #include <unistd.h>
3 #include <sys/types.h>
4
5 #ifndef NETDATA_POPEN_H
6 #define NETDATA_POPEN_H 1
7
8 #define PIPE_READ 0
9 #define PIPE_WRITE 1
10
11 extern FILE *mypopen(const char *command, pid_t *pidptr);
12 extern void mypclose(FILE *fp);
13 extern void process_childs(int wait);
14
15 #endif /* NETDATA_POPEN_H */