XCMD(3N) — Silicon Graphics
NAME
xcmd − execute a remote command via XNS
SYNOPSIS
xcmd (host, command)
char *host, *command;
DESCRIPTION
xcmd makes a network connection on socket EXECSOCKET, on host and causes command to be executed remotely. If a connection cannot be made, it returns −1. If the execution is successful, a file descriptor is returned, to which the remote process is attached. Reads and writes to this file descriptor will retrieve/send data from/to the remote process.
SEE ALSO
Version 2.5r1 — December 06, 1986