xref: /titanic_41/usr/src/man/man3rpc/rwall.3rpc (revision dab7de2d0395d3b5e8dc742f164561b3840dd8c6)
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 "30 Dec 1996" "SunOS 5.11" "RPC Library Functions"
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 TYPEATTRIBUTE VALUE
MT-LevelMT-Safe
SEE ALSO

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