Reads a Sun file
| 153 | |
| 154 | // Reads a Sun file |
| 155 | ILboolean ilLoadSun(ILconst_string FileName) |
| 156 | { |
| 157 | ILHANDLE SunFile; |
| 158 | ILboolean bSun = IL_FALSE; |
| 159 | |
| 160 | SunFile = iopenr(FileName); |
| 161 | if (SunFile == NULL) { |
| 162 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 163 | return bSun; |
| 164 | } |
| 165 | |
| 166 | iSetInputFile(SunFile); |
| 167 | |
| 168 | bSun = ilLoadSunF(SunFile); |
| 169 | |
| 170 | icloser(SunFile); |
| 171 | |
| 172 | return bSun; |
| 173 | } |
| 174 | |
| 175 | |
| 176 | //! Reads an already-opened Sun file |
no test coverage detected