xdr_replymsg Subroutine

Purpose

Describes RPC message replies.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>

xdr_replymsg ( xdrs,  rmsg)
XDR *xdrs;
struct rpc_msg *rmsg;

Description

The xdr_replymsg subroutine describes Remote Procedure Call (RPC) message replies. Use this subroutine to generate message replies similar to RPC message replies without using the RPC program.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
rmsg Points to the structure containing the parameters of the reply message.

Return Values

Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.