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 interactive I/O for programs that expect to be running on terminals. 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)