@spiceErrorCheck<EOL>def eknseg(handle):
handle = ctypes.c_int(handle)<EOL>return libspice.eknseg_c(handle)<EOL>
Return the number of segments in a specified EK.

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

:param handle: EK file handle.
:type handle: int
:return: The number of segments in the specified E-kernel.
:rtype: int