xdr_u_char Subroutine

Purpose

Translates between unsigned C language characters and their external representations.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>

xdr_u_char ( xdrs,  ucp)
XDR *xdrs;
char *ucp;

Description

The xdr_u_char subroutine is a filter primitive that translates between unsigned C language characters and their external representations.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
ucp Points to an unsigned integer.

Return Values

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