


REX(3R)               RPC SERVICES LIBRARY                REX(3R)



NAME
     rex - remote execution protocol

PROTOCOL
     /usr/include/rpcsvc/rex.x

DESCRIPTION
     This server will execute  commands  remotely.   The  working
     directory  and  environment of the command can be specified,
     and the standard input and output  of  the  command  can  be
     arbitrarily  redirected.  An option is provided for interac-
     tive I/O for programs that expect to be  running  on  termi-
     nals.   Note:  this  service  is  only provided with the TCP
     transport.

PROGRAMMING
     #include <sys/ioctl.h>
     #include <rpcsvc/rex.h>  /* not compiled with rpgen */

     The following XDR routines are available in librpcsvc:

          xdr_rex_start()
          xdr_rex_result()
          xdr_rex_ttymode()
          xdr_rex_ttysize()

SEE ALSO
     on(1C), rexd(8C)



























Sun Release 4.1    Last change: 6 October 1987                  1



