Causes the position of an input stream to move to the beginning of the next record.
C Library (libc.a)
#include <rpc/xdr.h>
xdrrec_skiprecord ( xdrs)
XDR *xdrs;
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.
Item | Description |
---|---|
xdrs | Points to the XDR stream handle. |
Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.