Causes the current outgoing data to be marked as a record.
#include <rpc/xdr.h>
xdrrec_endofrecord (xdrs, sendnow) XDR *xdrs; bool_t sendnow;
The xdrrec_endofrecord subroutine causes the current outgoing data to be marked as a record and can only be invoked on streams created by the xdrrec_create subroutine. If the value of the sendnow parameter is nonzero, the data in the output buffer is marked as a completed record and the output buffer is optionally written out.
xdrs | Points to the eXternal Data Representation (XDR) stream handle. |
sendnow | Specifies whether the record should be flushed to the output tcp stream. |
Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.
This subroutine is part of Base Operating System (BOS) Runtime.
The xdrrec_create subroutine.
List of XDR Programming References.
eXternal Data Representation (XDR) Overview for Programming in AIX Communications Programming Concepts.
Understanding XDR Non-Filter Primitives in AIX Communications Programming Concepts.