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

Technical Reference: Communications, Volume 1


xdrrec_skiprecord Subroutine

Purpose

Causes the position of an input stream to move to the beginning of the next record.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>


xdrrec_skiprecord ( xdrs)
XDR *xdrs;

Description

The xdrrec_skiprecord subroutine causes the position of an input stream to move past the current record boundary and onto the beginning of the next record of the stream. This subroutine can only be invoked on streams created by the xdrrec_create subroutine. The xdrrec_skiprecord subroutine tells the eXternal Data Representation (XDR) implementation that the rest of the current record in the stream's input buffer should be discarded.

Parameters


xdrs Points to the XDR stream handle.

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

The xdrrec_create subroutine.

List of XDR Programming References.

eXternal Data Representation (XDR) Overview for Programming in AIX 5L Version 5.1 Communications Programming Concepts.

Understanding XDR Non-Filter Primitives in AIX 5L Version 5.1 Communications Programming Concepts.


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