blob: 10680f0c8295903104a195f9576e8b9ba5958e9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#ifndef NETDATA_POPEN_H
#define NETDATA_POPEN_H 1
#define PIPE_READ 0
#define PIPE_WRITE 1
extern FILE *mypopen(const char *command, pid_t *pidptr);
extern int mypclose(FILE *fp, pid_t pid);
#endif /* NETDATA_POPEN_H */
|