Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / core / doc / html / core / quick_exit.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>quick_exit</title>
5 <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../index.html" title="Chapter&#160;1.&#160;Boost.Core">
8 <link rel="up" href="../index.html" title="Chapter&#160;1.&#160;Boost.Core">
9 <link rel="prev" href="pointer_traits.html" title="pointer_traits">
10 <link rel="next" href="ref.html" title="ref">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../more/index.htm">More</a></td>
20 </tr></table>
21 <hr>
22 <div class="spirit-nav">
23 <a accesskey="p" href="pointer_traits.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ref.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
24 </div>
25 <div class="section">
26 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
27 <a name="core.quick_exit"></a><a class="link" href="quick_exit.html" title="quick_exit">quick_exit</a>
28 </h2></div></div></div>
29 <div class="toc"><dl class="toc"><dt><span class="section"><a href="quick_exit.html#core.quick_exit.header_boost_core_quick_exit_hpp">Header
30       &lt;boost/core/quick_exit.hpp&gt;</a></span></dt></dl></div>
31 <div class="simplesect">
32 <div class="titlepage"><div><div><h3 class="title">
33 <a name="idm46687073914736"></a>Authors</h3></div></div></div>
34 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
35           Peter Dimov
36         </li></ul></div>
37 </div>
38 <div class="section">
39 <div class="titlepage"><div><div><h3 class="title">
40 <a name="core.quick_exit.header_boost_core_quick_exit_hpp"></a><a class="link" href="quick_exit.html#core.quick_exit.header_boost_core_quick_exit_hpp" title="Header &lt;boost/core/quick_exit.hpp&gt;">Header
41       &lt;boost/core/quick_exit.hpp&gt;</a>
42 </h3></div></div></div>
43 <p>
44         The header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">core</span><span class="special">/</span><span class="identifier">quick_exit</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
45         defines the function <code class="computeroutput"><span class="keyword">void</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">quick_exit</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">code</span><span class="special">)</span></code>. It calls the standard C++11 function <a href="https://en.cppreference.com/w/cpp/utility/program/quick_exit" target="_top"><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">quick_exit</span><span class="special">(</span><span class="identifier">code</span><span class="special">)</span></code></a>,
46         if that is available, and otherwise exits the process via <a href="https://en.cppreference.com/w/cpp/utility/program/_Exit" target="_top"><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">_Exit</span><span class="special">(</span><span class="identifier">code</span><span class="special">)</span></code></a>
47         or equivalent.
48       </p>
49 <div class="section">
50 <div class="titlepage"><div><div><h4 class="title">
51 <a name="core.quick_exit.header_boost_core_quick_exit_hpp.synopsis"></a><a class="link" href="quick_exit.html#core.quick_exit.header_boost_core_quick_exit_hpp.synopsis" title="Synopsis">Synopsis</a>
52 </h4></div></div></div>
53 <pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span>
54 <span class="special">{</span>
55     <span class="special">[[</span><span class="identifier">noreturn</span><span class="special">]]</span> <span class="keyword">void</span> <span class="identifier">quick_exit</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">code</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
56 <span class="special">}</span>
57 </pre>
58 </div>
59 </div>
60 </div>
61 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
62 <td align="left"></td>
63 <td align="right"><div class="copyright-footer">Copyright &#169; 2014 Peter Dimov<br>Copyright &#169; 2014 Glen Fernandes<br>Copyright &#169; 2014 Andrey Semashev<p>
64         Distributed under the <a href="http://boost.org/LICENSE_1_0.txt" target="_top">Boost
65         Software License, Version 1.0</a>.
66       </p>
67 </div></td>
68 </tr></table>
69 <hr>
70 <div class="spirit-nav">
71 <a accesskey="p" href="pointer_traits.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ref.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
72 </div>
73 </body>
74 </html>