t_ctrl (ul_tecar)


   Synopsis:

      This function is called to tell the TECAR server to perform various
      control operations.


   Declarations (FORTRAN):

        CHARACTER TECAR_SERVER*8 /'tecar-a2'/
        INTEGER*2 ISTAT, T_CTRL
        INTEGER*4 INPUT, OUTPUT


   Declarations (ANSI C):

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


   Usage (FORTRAN):

 	ISTAT = T_CTRL ( TECAR_SERVER, INPUT, OUTPUT )


   Usage (C):

      istat = t_ctrl ( TECAR_server, input, output );


   Usage (VAX generic format):

      istat.w.w = t_ctrl ( TECAR_server.ar.b, input.ar.l, 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).

         input          an unsigned longword with bits set as follows:
                        Bit(s)	Control Request
                        -----   -------------------
			31:16	undefined
			15	link diagnostic exception
			14:1	undefined
                        0	regulation request

      Output - writeonly:

         output         an unsigned longword with bits set as above to
                        reflect the valid control operation performed


      Returns:

         istat          the status return in ACNET format