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

Technical Reference: Communications, Volume 1

clnt_sperror Subroutine

Purpose

Indicates why a remote procedure call failed.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>


char *clnt_sperror ( cl, s)
CLIENT *cl;
char *s;

Description

The clnt_sperror subroutine returns a string to standard error output indicating why a Remote Procedure Call (RPC) call failed. This subroutine also returns the pointer to static data overwritten on each call.

Parameters

cl 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_perror subroutine.

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 ]