@spiceErrorCheck<EOL>def cltext(fname):
fnameP    = stypes.stringToCharP(fname)<EOL>fname_len = ctypes.c_int(len(fname))<EOL>libspice.cltext_(fnameP, fname_len)<EOL>
Internal undocumented command for closing a text file opened by RDTEXT.

No URL available; relevant lines from SPICE source:

FORTRAN SPICE, rdtext.f::

    C$Procedure  CLTEXT ( Close a text file opened by RDTEXT)
          ENTRY  CLTEXT ( FILE )
          CHARACTER*(*)       FILE
    C     VARIABLE  I/O  DESCRIPTION
    C     --------  ---  --------------------------------------------------
    C     FILE       I   Text file to be closed.

CSPICE, rdtext.c::

    /* $Procedure  CLTEXT ( Close a text file opened by RDTEXT) */
    /* Subroutine */ int cltext_(char *file, ftnlen file_len)


:param fname: Text file to be closed.
:type fname: str