os::shell_type os::_shell = os::UNIX;
unsigned long os::cp_ = 0;
+using std::endl;
+
void os::init(int * /* argc */, char ** argv[]) {
static bool initialized = false;
if (initialized) return;
return isDosPath | isUnixPath;
}
+
+// returns a string suitable to be passed to fopen/popen when
+// reading a file
+char const * os::read_mode()
+{
+ return "rb";
+}