libobs/util: Add functions to get/set the cwd

Adds functions to get or set the current working directory.
This commit is contained in:
jp9000 committed 2015-07-16 01:32:16 -07:00
1 parent 7bd5147074
commit 5c0f4546ea
3 files changed
+46

No files matched your search

+3
View File
@@ -130,6 +130,9 @@ EXPORT void os_globfree(os_glob_t *pglob);
EXPORT int os_unlink(const char *path);
EXPORT int os_rmdir(const char *path);
EXPORT char *os_getcwd(char *path, size_t size);
EXPORT int os_chdir(const char *path);
#define MKDIR_EXISTS 1
#define MKDIR_SUCCESS 0
#define MKDIR_ERROR -1