@spiceErrorCheck<EOL>@spiceFoundExceptionThrower<EOL>def kinfo(file, typlen=_default_len_out, srclen=_default_len_out):
typlen = ctypes.c_int(typlen)<EOL>srclen = ctypes.c_int(srclen)<EOL>file = stypes.stringToCharP(file)<EOL>filtyp = stypes.stringToCharP("<STR_LIT:U+0020>" * typlen.value)<EOL>source = stypes.stringToCharP("<STR_LIT:U+0020>" * srclen.value)<EOL>handle = ctypes.c_int()<EOL>found = ctypes.c_int()<EOL>libspice.kinfo_c(file, typlen, srclen, filtyp, source, ctypes.byref(handle),<EOL>ctypes.byref(found))<EOL>return stypes.toPythonString(filtyp), stypes.toPythonString(<EOL>source), handle.value, bool(found.value)<EOL>
Return information about a loaded kernel specified by name.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kinfo_c.html

:param file: Name of a kernel to fetch information for
:type file: str
:param typlen: Available space in output kernel type string.
:type typlen: int
:param srclen: Available space in output source string.
:type srclen: int
:return:
        The type of the kernel,
        Name of the source file used to load file,
        The handle attached to file.
:rtype: tuple