rwall(3RPC) RPC Library Functions rwall(3RPC)NAMErwall - 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.x
DESCRIPTION
These routines require that the rpc.rwalld(1M) daemon be configured and
available on the remote system indicated by host.
rwall() executes wall(1M) 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(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOrpc.rwalld(1M), wall(1M), rpc_clnt_calls(3NSL), attributes(5)SunOS 5.10 30 Dec 1996 rwall(3RPC)