xref: /titanic_44/usr/src/man/man3rpc/rwall.3rpc (revision be468fc6d7266e97f1330ad9a761169925f5f3f1)
te
Copyright 1989 AT&T Copyright (c) 1997, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
RWALL 3RPC "Dec 30, 1996"
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.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 ALSO

rpc.rwalld(1M), wall(1M), rpc_clnt_calls(3NSL), attributes(5)