code: def rdtext(file, lenout=_default_len_out):  # pragma: no cover
      
      file = stypes.stringToCharP(file)
      line = stypes.stringToCharP(lenout)
      lenout = ctypes.c_int(lenout)
      eof = ctypes.c_int()
      libspice.rdtext_c(file, lenout, line, ctypes.byref(eof))
      return stypes.toPythonString(line), bool(eof.value)
docs: Read the next line of text from a text file.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/rdtext_c.html
  
      :param file: Name of text file.
      :type file: str
      :param lenout: Available room in output line.
      :type lenout: int
      :return: Next line from the text file, End-of-file indicator
      :rtype: tuple