[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 1

clnt_perror Subroutine

Purpose

Indicates why a remote procedure call failed.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>
clnt_perror (clnt, s)
CLIENT *clnt;
char *s;

Description

The clnt_perror subroutine writes a message to standard error output indicating why a remote procedure call failed. The message is preceded by the string pointed to by the s parameter and a colon.

This subroutine is used after the clnt_call macro.

Parameters

clnt Points to the structure of the client handle.
s Points to a character string that represents the error text.

Return Values

This subroutine returns an error string to standard error output.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The clnt_sperror subroutine.

The clnt_call macro.

List of RPC Programming References.

Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]