]> git.tdb.fi Git - libs/core.git/blobdiff - source/utils.h
Add chdir function
[libs/core.git] / source / utils.h
index db6a32c74fcc684369f9345486bcabde28a02939..b166fede96a8e888f4ea070cce87ede620dfe466 100644 (file)
@@ -74,6 +74,9 @@ Path getcwd();
 /// Returns the user's home directory
 Path get_home_dir();
 
+/// Changes the current working directory
+void chdir(const Path &);
+
 inline bool is_windows_drive(const std::string &p)
 { return (p.size()==2 && ((p[0]>='A' && p[0]<='Z') || (p[0]>='a' && p[0]<='z')) && p[1]==':'); }