xdrrec_endofrecord()

The xdrrec_endofrecord() call marks the data in the output buffer as a completed record.

Syntax

#include <rpc\rpc.h>

bool_t
xdrrec_endofrecord(xdrs, sendnow)
XDR *xdrs;
int sendnow;

Parameters

xdrs

sendnow

Description

You can start the xdrrec_endofrecord() call only on streams created by xdrrec_create(). Data in the output buffer is marked as a complete record.

Return Values

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


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