Checks if the ILHANDLE contains a valid Sun file at the current position.
| 76 | |
| 77 | //! Checks if the ILHANDLE contains a valid Sun file at the current position. |
| 78 | ILboolean ilIsValidSunF(ILHANDLE File) |
| 79 | { |
| 80 | ILuint FirstPos; |
| 81 | ILboolean bRet; |
| 82 | |
| 83 | iSetInputFile(File); |
| 84 | FirstPos = itell(); |
| 85 | bRet = iIsValidSun(); |
| 86 | iseek(FirstPos, IL_SEEK_SET); |
| 87 | |
| 88 | return bRet; |
| 89 | } |
| 90 | |
| 91 | |
| 92 | //! Checks if Lump is a valid Sun lump. |
no test coverage detected