@spiceErrorCheck<EOL>def getfat(file):
file = stypes.stringToCharP(file)<EOL>arclen = ctypes.c_int(<NUM_LIT:4>)<EOL>typlen = ctypes.c_int(<NUM_LIT:4>)<EOL>arch = stypes.stringToCharP(arclen)<EOL>rettype = stypes.stringToCharP(typlen)<EOL>libspice.getfat_c(file, arclen, typlen, arch, rettype)<EOL>return stypes.toPythonString(arch), stypes.toPythonString(rettype)<EOL>
Determine the file architecture and file type of most SPICE kernel files.

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

:param file: The name of a file to be examined.
:type file: str
:return: The architecture of the kernel file, The type of the kernel file.
:rtype: tuple