blob: 3dd79bb4d0c57a97c1411a81683b49125c932f5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef NETDATA_POPEN_H
#define NETDATA_POPEN_H 1
#define PIPE_READ 0
#define PIPE_WRITE 1
extern FILE *mypopen(const char *command, volatile pid_t *pidptr);
extern FILE *mypopene(const char *command, volatile pid_t *pidptr, char **env);
extern int mypclose(FILE *fp, pid_t pid);
#endif /* NETDATA_POPEN_H */
|