'\" t .\" Title: xdr_commit_encode .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "XDR_COMMIT_ENCODE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Linux Networking" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" xdr_commit_encode \- Ensure all data is written to buffer .SH "SYNOPSIS" .HP \w'void\ xdr_commit_encode('u .BI "void xdr_commit_encode(struct\ xdr_stream\ *\ " "xdr" ");" .SH "ARGUMENTS" .PP \fIxdr\fR .RS 4 pointer to xdr_stream .RE .SH "DESCRIPTION" .PP We handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying\&. .PP Normally the caller doesn\*(Aqt need to call this directly, as the following xdr_reserve_space will do it\&. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read\&. .SH "COPYRIGHT" .br