1rwall(3RPC) RPC Library Functions rwall(3RPC)
2
3
4
6 rwall - write to specified remote machines
7
9 cc [ flag ... ] file ... -lrpcsvc [ library ... ]
10 #include <rpc/rpc.h>
11 #include <rpcsvc/rwall.h>
12
13 enum clnt_stat rwall(char *host, char *msg);
14
15
17 /usr/include/rpcsvc/rwall.x
18
20 These routines require that the rpc.rwalld(1M) daemon be configured and
21 available on the remote system indicated by host.
22
23
24 rwall() executes wall(1M) on host. The rpc.rwalld process on host
25 prints msg to all users logged on to that system. rwall() returns
26 RPC_SUCCESS if it was successful; otherwise a enum clnt_stat is
27 returned which can be displayed using clnt_perrno(3NSL).
28
30 See attributes(5) for descriptions of the following attributes:
31
32
33
34
35 ┌─────────────────────────────┬─────────────────────────────┐
36 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
37 ├─────────────────────────────┼─────────────────────────────┤
38 │MT-Level │MT-Safe │
39 └─────────────────────────────┴─────────────────────────────┘
40
42 rpc.rwalld(1M), wall(1M), rpc_clnt_calls(3NSL), attributes(5)
43
44
45
46SunOS 5.11 30 Dec 1996 rwall(3RPC)