'\" t .\" Title: xdr_reserve_space .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "XDR_RESERVE_SPACE" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "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_reserve_space \- Reserve buffer space for sending .SH "SYNOPSIS" .HP \w'__be32\ *\ xdr_reserve_space('u .BI "__be32 * xdr_reserve_space(struct\ xdr_stream\ *\ " "xdr" ", size_t\ " "nbytes" ");" .SH "ARGUMENTS" .PP \fIstruct xdr_stream * xdr\fR .RS 4 pointer to xdr_stream .RE .PP \fIsize_t nbytes\fR .RS 4 number of bytes to reserve .RE .SH "DESCRIPTION" .PP Checks that we have enough buffer space to encode \*(Aqnbytes\*(Aq more bytes of data\&. If so, update the total xdr_buf length, and adjust the length of the current kvec\&. .SH "COPYRIGHT" .br