RWALL(3RPC) RPC Library Functions RWALL(3RPC)
NAME
rwall - write to specified remote machines
SYNOPSIS
cc [
flag ... ]
file ...
-lrpcsvc [
library ... ]
#include <rpc/rpc.h>
#include <rpcsvc/rwall.h>
enum clnt_stat rwall(
char *host,
char *msg);
PROTOCOL
/usr/include/rpcsvc/rwall.xDESCRIPTION
These routines require that the
rpc.rwalld(8) daemon be configured
and available on the remote system indicated by
host.
rwall() executes
wall(8) on
host. The
rpc.rwalld process on
host prints
msg to all users logged on to that system.
rwall() returns
RPC_SUCCESS if it was successful; otherwise a
enum clnt_stat is
returned which can be displayed using
clnt_perrno(3NSL).
ATTRIBUTES
See
attributes(7) for descriptions of the following attributes:
+---------------+-----------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------+
|MT-Level | MT-Safe |
+---------------+-----------------+
SEE ALSO
rpc_clnt_calls(3NSL),
attributes(7),
rpc.rwalld(8),
wall(8) December 30, 1996 RWALL(3RPC)