15 #if !defined(_MSC_VER)
19 #if defined(__BORLANDC__)
28 #if !defined(_MSC_VER)
33 #include <sys/types.h>
46 return SetCurrentDirectory(s);
62 GetCurrentDirectory(300,tmp);
68 char* ret = getcwd(tmp,300);
85 return CreateDirectory(s, NULL) != 0;
87 return mkdir(s, S_IRUSR | S_IWUSR) == 0;
101 int ierr = SetCurrentDirectory(s);
104 DIR* dirp = opendir(s);
120 return closedir(dirp) != -1;
int ad_chdir(const char *s)
Description not yet available.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void ad_getcd(const adstring &s)
Description not yet available.
int ad_mkdir(const char *s)
Make directory s.
int make_sub_directory(const char *s)
Create a sub directory s.