diff options
Diffstat (limited to 'static/freebsd/man3/pthread_cleanup_pop.3 4.html')
| -rw-r--r-- | static/freebsd/man3/pthread_cleanup_pop.3 4.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/static/freebsd/man3/pthread_cleanup_pop.3 4.html b/static/freebsd/man3/pthread_cleanup_pop.3 4.html new file mode 100644 index 00000000..aac50d1c --- /dev/null +++ b/static/freebsd/man3/pthread_cleanup_pop.3 4.html @@ -0,0 +1,71 @@ +<table class="head"> + <tr> + <td class="head-ltitle">PTHREAD_CLEANUP_POP(3)</td> + <td class="head-vol">Library Functions Manual</td> + <td class="head-rtitle">PTHREAD_CLEANUP_POP(3)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">pthread_cleanup_pop</code> — + <span class="Nd">call the first cleanup routine</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1> +<p class="Pp"><span class="Lb">POSIX Threads Library (libpthread, + -lpthread)</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<p class="Pp"><code class="In">#include + <<a class="In">pthread.h</a>></code></p> +<p class="Pp"><var class="Ft">void</var> + <br/> + <code class="Fn">pthread_cleanup_pop</code>(<var class="Fa" style="white-space: nowrap;">int + execute</var>);</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The + <a class="permalink" href="#pthread_cleanup_pop"><code class="Fn" id="pthread_cleanup_pop">pthread_cleanup_pop</code></a>() + function pops the top cleanup routine off of the current threads cleanup + routine stack, and, if <var class="Fa">execute</var> is non-zero, it will + execute the function. If there is no cleanup routine then + <code class="Fn">pthread_cleanup_pop</code>() does nothing.</p> +<p class="Pp" id="pthread_cleanup_pop~2">The + <a class="permalink" href="#pthread_cleanup_pop~2"><code class="Fn">pthread_cleanup_pop</code></a>() + function is implemented as a macro that closes a block. Invocations of this + function must appear as standalone statements that are paired with an + earlier call of <a class="Xr">pthread_cleanup_push(3)</a> in the same + lexical scope.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN + VALUES</a></h1> +<p class="Pp">The <code class="Fn">pthread_cleanup_pop</code>() function does + not return any value.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1> +<p class="Pp">None</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">pthread_cleanup_push(3)</a>, + <a class="Xr">pthread_exit(3)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="STANDARDS"><a class="permalink" href="#STANDARDS">STANDARDS</a></h1> +<p class="Pp">The <code class="Fn">pthread_cleanup_pop</code>() function + conforms to <span class="St">ISO/IEC 9945-1:1996 + (“POSIX.1”)</span>.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">October 25, 2014</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
