102af6e337756e8f1bae656ec055697a8c2bc0f4
[libpicofe.git] / linux / plat.c
1 #include <dirent.h>
2 #include "../common/plat.h"
3
4
5 int plat_is_dir(const char *path)
6 {
7         DIR *dir;
8         if ((dir = opendir(path))) {
9                 closedir(dir);
10                 return 1;
11         }
12         return 0;
13 }
14