t_link_errors (ul_tecar)


   Synopsis:

      This function is called to read the link errors from TECAR.


   Declarations (FORTRAN):

        CHARACTER TECAR_SERVER*8 /'tecar-a2'/
        INTEGER*2 ISTAT, T_LINK_ERRORS
        INTEGER*4 OUTPUT(5*24)


   Declarations (ANSI C):

      #include "tecar.h"
      unsigned char TECAR_server[]="tecar-a2";
      short istat;
      unsigned int output[5][24];
      short t_link_errors ( unsigned char *const TECAR_server,
                            unsigned int * const output );


   Usage (FORTRAN):

 	ISTAT = T_LINK_ERRORS ( TECAR_SERVER, OUTPUT )


   Usage (C):

      istat = t_link_errors ( TECAR_server, output );


   Usage (VAX generic format):

      istat.w.w = t_link_errors ( TECAR_server.ar.b, output.aw.l )


   Arguments:

      Input - readonly:

         TECAR_server	a character string which contains the Internet
                        name of the TECAR server. This name must be
                        resolvable via the Domain Name Service.
			This may be passed either as a pointer to a
		        null-terminated string, or by descriptor
			(under VMS only).


      Current - writeonly:

         output         an array of link errors, with 5 elements
                        (each representing ADLC Status #1, ADLC Status #2,
                         Loop Addr, Error, and Count), one for each
                        of the 24 controllers (A3,A4,...A2)


      Returns:

         istat          the status return in ACNET format