xdrrec_skiprecord()

The xdrrec_skiprecord() call discards the rest of the XDR stream's current record in the input buffer.

Syntax

#include <rpc\rpc.h>

bool_t
xdrrec_skiprecord(xdrs)
XDR *xdrs;

Parameters

xdrs

Description

You can start the xdrrec_skiprecord() call only on streams created by xdrrec_create(). The XDR implementation is instructed to discard the remaining data in the input buffer.

Return Values

The value 1 indicates success; the value 0 indicates an error.

Related Calls


[Back: xdrrec_eof()]
[Next: xdrstdio_create()]