Causes the current outgoing data to be marked as a record.
C Library (libc.a)
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.
Item | Description |
---|---|
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.