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

xdrrec_eof Subroutine

Purpose

Checks the buffer for an input stream that indicates the end of file (EOF).

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>
xdrrec_eof (xdrs)
XDR *xdrs;

Description

The xdrrec_eof subroutine checks the buffer for an input stream to see if the stream reached the end of the file. This subroutine can only be invoked on streams created by the xdrrec_create subroutine.

Parameters

xdrs Points to the eXternal Data Representation (XDR) stream handle.

Return Values

After consuming the rest of the current record in the stream, this subroutine returns a value of 1 if the stream has no more input, and a value of 0 otherwise.

Implementation Specifics

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

Related Information

The xdrrec_create subroutine.

List of XDR Programming References.

eXternal Data Representation (XDR) Overview for Programming in AIX Communications Programming Concepts.

Understanding XDR Non-Filter Primitives in AIX Communications Programming Concepts.


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