blob: 0a1ce494f122d036d6af3c67aea5241e6e8b9e94
1 | #define LOG_TAG "CBlobDevice" |
2 | |
3 | #include <stdio.h> |
4 | #include <string.h> |
5 | #include <sys/stat.h> |
6 | #include <fcntl.h> |
7 | #include <pthread.h> |
8 | #include "CBlobDeviceE2prom.h" |
9 | #include "CBlobDevice.h" |
10 | #include "CTvLog.h" |
11 | |
12 | CBlobDevice::CBlobDevice() |
13 | { |
14 | m_dev_path[0] = '\0'; |
15 | } |
16 | |
17 | CBlobDevice::~CBlobDevice() |
18 | { |
19 | } |
20 | |
21 | int CBlobDevice::IsFileExist(const char *file_name) |
22 | { |
23 | struct stat tmp_st; |
24 | return stat(file_name, &tmp_st); |
25 | } |
26 | |
27 |