summaryrefslogtreecommitdiffstats
path: root/src/popen.h
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
commitd4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c (patch)
treefaac99f51f182bb8c0a03e95e393d421ac9ddf42 /src/popen.h
parentNew upstream version 1.9.0+dfsg (diff)
downloadnetdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.tar.xz
netdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.zip
New upstream version 1.10.0+dfsgupstream/1.10.0+dfsg
Diffstat (limited to 'src/popen.h')
-rw-r--r--src/popen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/popen.h b/src/popen.h
index 90845e1fb..3dd79bb4d 100644
--- a/src/popen.h
+++ b/src/popen.h
@@ -4,7 +4,8 @@
#define PIPE_READ 0
#define PIPE_WRITE 1
-extern FILE *mypopen(const char *command, pid_t *pidptr);
+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 */