The xdrrec_eof() call marks the end of the file, after using the rest of the current record in the XDR stream.
Syntax
#include <rpc\rpc.h> bool_t xdrrec_eof(xdrs) XDR *xdrs; int empty;
Parameters
xdrs
Description
You can start the xdrrec_eof() call only on streams created by xdrrec_create().
Return Values
The value 1 indicates the current record has been consumed; the value 0 indicates continued input on the stream.