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