[#subprocess-Buffer-add_cap]
= xref:subprocess.adoc[subprocess]::xref:subprocess/Buffer.adoc[Buffer]::add&lowbar;cap
:relfileprefix: ../../
:mrdocs:

Resizes the underlying storage to the given capacity&period;

== Synopsis

Declared in `&lt;util&sol;subprocess&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
add&lowbar;cap(size&lowbar;t cap);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cap*
| New size of the underlying vector, in bytes&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
