mirror of https://github.com/mkerrisk/man-pages
xdr.3: Tweaks to patch of Taisuke Yamada
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2915b72616
commit
0e6be1168c
14
man3/xdr.3
14
man3/xdr.3
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue