docs: def ckopn(filename, ifname, ncomch):
      """
      Open a new CK file, returning the handle of the opened file.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ckopn_c.html
  
      :param filename: The name of the CK file to be opened.
      :type filename: str
      :param ifname: The internal filename for the CK.
      :type ifname: str
      :param ncomch: The number of characters to reserve for comments.
      :type ncomch: int
      :return: The handle of the opened CK file.
      :rtype: int
      """
      filename = stypes.stringToCharP(filename)
      ifname = stypes.stringToCharP(ifname)
      ncomch = ctypes.c_int(ncomch)
      handle = ctypes.c_int()
      libspice.ckopn_c(filename, ifname, ncomch, ctypes.byref(handle))
      return handle.value