| 86 | WRes InFile_Open(CSzFile *p, const char *name) { return File_Open(p, name, 0); } |
| 87 | |
| 88 | WRes OutFile_Open(CSzFile *p, const char *name) |
| 89 | { |
| 90 | #if defined(USE_WINDOWS_FILE) || defined(USE_FOPEN) |
| 91 | return File_Open(p, name, 1); |
| 92 | #else |
| 93 | p->fd = creat(name, 0666); |
| 94 | return (p->fd != -1) ? 0 : errno; |
| 95 | #endif |
| 96 | } |
| 97 | |
| 98 | #endif |
| 99 |
nothing calls this directly
no test coverage detected