unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

REX(3R)                                                                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 pro-
       vided for interactive I/O for programs that expect  to  be  running  on
       terminals.  Note: this service is only provided with the TCP transport.

PROGRAMMING
       #include <&lt;sys/ioctl.h>&gt;
       #include <&lt;rpcsvc/rex.h>&gt;  /* 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)



                                6 October 1987                         REX(3R)