}
-// returns a string suitable to be passed to fopen/popen when
+// returns a string suitable to be passed to fopen when
// reading a file
char const * os::read_mode()
{
return "r";
}
+
+// returns a string suitable to be passed to popen when
+// reading a pipe
+char const * os::popen_read_mode()
+{
+ return "r";
+}