mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@639 be3aeb3a-fb24-0410-a615-afba39da0efa
14 lines
173 B
C
14 lines
173 B
C
#include <dirent.h>
|
|
#include "../common/plat.h"
|
|
|
|
|
|
int plat_is_dir(const char *path)
|
|
{
|
|
DIR *dir;
|
|
if ((dir = opendir(path))) {
|
|
closedir(dir);
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|
|
|