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

xdr_bool Subroutine

Purpose

Translates between Booleans and their external representations.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>
xdr_bool (xdrs, bp)
XDR *xdrs;
bool_t *bp;

Description

The xdr_bool subroutine is a filter primitive that translates between Booleans (C integers) and their external representations. When encoding data, this filter produces values of either 1 or 0.

Parameters

xdrs Points to the eXternal Data Representation (XDR) stream handle.
bp Specifies the address of the Boolean data.

Return Values

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

Implementation Specifics

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

Related Information

List of XDR Programming References.

eXternal Data Representation (XDR) Overview for Programming and Understanding XDR Library Filter Primitives in AIX Version 4.3 Communications Programming Concepts.


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