xdr.3: Tweaks to patch of Taisuke Yamada

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-02-26 08:48:36 +01:00
parent 2915b72616
commit 0e6be1168c
1 changed files with 9 additions and 5 deletions

View File

@ -291,11 +291,15 @@ Note: the XDR stream's
.I op
field must be set by the caller.
.IP
Warning: To read from XDR stream created by this API, you'll need to
call xdrrec_skiprecord(3) first before calling any other XDR APIs.
This is because this inserts additional bytes in the stream to provide
record boundary information. Also, XDR streams created with different
xdr*_create APIs are not compatible for the same reason.
Warning: To read from an XDR stream created by this API,
you'll need to call
.BR xdrrec_skiprecord (3)
first before calling any other XDR APIs.
This inserts additional bytes in the stream to provide
record boundary information.
Also, XDR streams created with different
.BR xdr*_create
APIs are not compatible for the same reason.
.LP
.nf
.BI "bool_t xdrrec_endofrecord(XDR *" xdrs ", int " sendnow );