14 if((Source == NULL) || (*Source ==
'\0'))
27 if((Source[0] ==
'.') || (strcmp(Source,
"/") == 0))
47 if(strchr(Source,
'/') != NULL) Result |= 1;
48 if(Source[strlen(Source) - 1] ==
'/') Result |= 2;
49 if(strncmp(Source,
"/mnt", 4) == 0) Result |= 4;
52 strcpy(AbsFileName,
"/mnt/hd");
56 strcat(AbsFileName, Source);
63 strcat(AbsFileName, Source);
66 if(!
lstat64(AbsFileName, &statbuf) && S_ISDIR(statbuf.
st_mode)) Result |= 3;
int lstat64(__const char *__restrict __file, tstat64 *__restrict __buf) __THROW
tPathFormat GetPathType(const char *Source)
int HDD_TAP_GetCurrentDir(char *CurrentDir)
bool StringEndsWith(const char *text, const char *postfix)