*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/rexec (2)              


rexec(2)							      rexec(2)

NAME    [Toc]    [Back]

     rexec: rexecl, rexecv, rexecle, rexecve, rexeclp, rexecvp - execute a
     file on a remote cell

SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     int rexecl	(cell_t	cell, const char *path,	const char *arg0, ..., const
	  char *argn, (char *)0);

     int rexecv	(cell_t	cell, const char *path,	char *const *argv);

     int rexecle (cell_t cell, const char *path, const char *arg0, ...,	const
	  char *argn, (char *0), const char *envp[]);

     int rexecve (cell_t cell, const char *path, char *const *argv, char
	  *const *envp);

     int rexeclp (cell_t cell, const char *file, const char *arg0, ...,	const
	  char *argn, (char *)0);

     int rexecvp (cell_t cell, const char *file, char *const *argv);

DESCRIPTION    [Toc]    [Back]

     rexec in all its forms overlays a new process image on an old process and
     commences execution on a new cell.	This system call was reserved to be
     supported in a future version of IRIX. In IRIX release 6.5, the only
     valid value for cell is 0 and then	each form of rexec is equivalent to
     the corresponding form of exec. Therefore use of rexec is deprecated as
     this system call may not be present in future IRIX	releases.

ERRORS    [Toc]    [Back]

     In	addition to the	error codes returned by	exec, the following error code
     may be returned by	any of the forms of rexec:

     [EINVAL]	 An invalid value for cell was specified.

SEE ALSO    [Toc]    [Back]


DIAGNOSTICS    [Toc]    [Back]

     If	rexec returns to the calling process, an error has occurred; the
     return value is -1	and errno is set to indicate the error.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
hosts.equiv Tru64 A file containing the names of remote systems and users that can execute commands on the local syste...
rexec HP-UX execute from a remote shell
remsh HP-UX execute from a remote shell
uuxqt IRIX execute remote command requests
uuxqt HP-UX execute remote uucp or uux command requests
on HP-UX execute command on remote host with environment similar to local
Xqtdir Tru64 Contains temporary files used by the uuxqt daemon to execute remote command requests
uucico Tru64 Transfers uucp command, data, and execute files to remote systems
exec Linux execute a file
execl HP-UX execute a file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service