summaryrefslogtreecommitdiff
path: root/devdocs/c/variadic%2Fva_end.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/c/variadic%2Fva_end.html
new repository
Diffstat (limited to 'devdocs/c/variadic%2Fva_end.html')
-rw-r--r--devdocs/c/variadic%2Fva_end.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/devdocs/c/variadic%2Fva_end.html b/devdocs/c/variadic%2Fva_end.html
new file mode 100644
index 00000000..d6c1cddf
--- /dev/null
+++ b/devdocs/c/variadic%2Fva_end.html
@@ -0,0 +1,25 @@
+ <h1 id="firstHeading" class="firstHeading">va_end</h1> <table class="t-dcl-begin"> <tr class="t-dsc-header"> <th> Defined in header <code>&lt;stdarg.h&gt;</code> </th> <th> </th> <th> </th> </tr> <tr class="t-dcl"> <td class="t-dcl-nopad"> <pre data-language="c">void va_end( va_list ap );</pre>
+</td> <td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> </table> <p>The <code>va_end</code> macro performs cleanup for an <code>ap</code> object initialized by a call to <code>va_start</code> or <code>va_copy</code>. <code>va_end</code> may modify <code>ap</code> so that it is no longer usable.</p>
+<p>If there is no corresponding call to <code>va_start</code> or <code>va_copy</code>, or if <code>va_end</code> is not called before a function that calls <code>va_start</code> or <code>va_copy</code> returns, the behavior is undefined.</p>
+<h3 id="Parameters"> Parameters</h3> <table class="t-par-begin"> <tr class="t-par"> <td> ap </td> <td> - </td> <td> an instance of the <code>va_list</code> type to clean up </td>
+</tr>
+</table> <h3 id="Expanded_value"> Expanded value</h3> <p>(none)</p>
+<h3 id="References"> References</h3> <ul>
+<li> C11 standard (ISO/IEC 9899:2011): </li>
+<ul><li> 7.16.1.3 The va_end macro (p: 270-271) </li></ul>
+<li> C99 standard (ISO/IEC 9899:1999): </li>
+<ul><li> 7.15.1.3 The va_end macro (p: 250-251) </li></ul>
+<li> C89/C90 standard (ISO/IEC 9899:1990): </li>
+<ul><li> 4.8.1.3 The va_end macro </li></ul>
+</ul> <h3 id="See_also"> See also</h3> <table class="t-dsc-begin"> <tr class="t-dsc"> <td> <div><a href="va_arg" title="c/variadic/va arg"> <span class="t-lines"><span>va_arg</span></span></a></div> </td> <td> accesses the next variadic function argument <br> <span class="t-mark">(function macro)</span> </td>
+</tr> <tr class="t-dsc"> <td> <div><a href="va_copy" title="c/variadic/va copy"> <span class="t-lines"><span>va_copy</span></span></a></div>
+<div><span class="t-lines"><span><span class="t-mark-rev t-since-c99">(C99)</span></span></span></div> </td> <td> makes a copy of the variadic function arguments <br> <span class="t-mark">(function macro)</span> </td>
+</tr> <tr class="t-dsc"> <td> <div><a href="va_list" title="c/variadic/va list"> <span class="t-lines"><span>va_list</span></span></a></div> </td> <td> holds the information needed by va_start, va_arg, va_end, and va_copy <br> <span class="t-mark">(typedef)</span> </td>
+</tr> <tr class="t-dsc"> <td> <div><a href="va_start" title="c/variadic/va start"> <span class="t-lines"><span>va_start</span></span></a></div> </td> <td> enables access to variadic function arguments <br> <span class="t-mark">(function macro)</span> </td>
+</tr> <tr class="t-dsc"> <td colspan="2"> <span><a href="https://en.cppreference.com/w/cpp/utility/variadic/va_end" title="cpp/utility/variadic/va end">C++ documentation</a></span> for <code>va_end</code> </td>
+</tr> </table> <div class="_attribution">
+ <p class="_attribution-p">
+ &copy; cppreference.com<br>Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.<br>
+ <a href="https://en.cppreference.com/w/c/variadic/va_end" class="_attribution-link">https://en.cppreference.com/w/c/variadic/va_end</a>
+ </p>
+</div>