| 118 | |
| 119 | #ifdef _MSC_VER |
| 120 | inline int OPEN(string_t path, int mask, int mode) |
| 121 | { |
| 122 | int fd; |
| 123 | if (_wsopen_s(&fd, path, mask, _SH_DENYNO, mode) == 0) { |
| 124 | return fd; |
| 125 | } else { |
| 126 | return -1; |
| 127 | } |
| 128 | } |
| 129 | #endif |
| 130 | |
| 131 | inline bool exists(string_t path) |
no outgoing calls
no test coverage detected