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