4 * Created on: 20-Oct-2009
16 * Return path of temporary directory.
18 * From http://msdn.microsoft.com/en-us/library/aa364992%28VS.85%29.aspx
20 * TODO: Unicode... (gets hairy with open() call on Linux. Win32 has _wopen)
22 std::string gettmpdir(void);
24 void print_error(const char* msg);