[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, 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.

Related Information

The clnt_sperror subroutine.

The clnt_call macro.

List of RPC Programming References.

Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.2 Communications Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]