---
name: "xdr_reserve_space"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/xdr_reserve_space"
---

# xdr\_reserve\_space(9)

Reserve buffer space for sending

## NAME

xdr\_reserve\_space - Reserve buffer space for sending

## SYNOPSIS

**\_\_be32 \* xdr\_reserve\_space(struct xdr\_stream \*** *xdr***, size\_t** *nbytes***);**

## ARGUMENTS

*xdr*

pointer to xdr\_stream

*nbytes*

number of bytes to reserve

## DESCRIPTION

Checks that we have enough buffer space to encode 'nbytes' more bytes of data. If so, update the total xdr\_buf length, and adjust the length of the current kvec.

## COPYRIGHT
