4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Ruurd A. Reitsma
9 * Full author contact details are available in file CREDITS.
11 * wrap OS-specific stuff
26 UNIX, // Do we have to distinguish sh and csh?
30 // do some work just once
31 void init(int argc, char * argv[]);
33 // Returns the name of the NULL device (/dev/null, null).
34 std::string const & nulldev();
36 std::string current_root();
40 std::string::size_type common_path(std::string const & p1, std::string const & p2);
41 // Converts a unix style path to host OS style.
42 std::string external_path(std::string const & p);
43 // Converts a host OS style path to unix style.
44 std::string internal_path(std::string const & p);
46 bool is_absolute_path(std::string const & p);
47 // returns a string suitable to be passed to popen when
49 char const * popen_read_mode();
52 } // namespace support