Update zoneinfo database.
[dragonfly/netmp.git] / contrib / sendmail / libsm / gen.html
blobcf642ae88b4661766004a22360ec5600cf3c16ec
1 <html>
2 <head>
3 <title>libsm : General Definitions</title>
4 </head>
5 <body>
7 <a href="index.html">Back to libsm overview</a>
9 <center>
10 <h1> libsm : General Definitions </h1>
11 <br> $Id: gen.html,v 1.5 2000/12/08 21:41:42 ca Exp $
12 </center>
14 <h2> Introduction </h2>
16 The header file <tt>&lt;sm/gen.h&gt;</tt>
17 contains general definitions that are used by every other
18 header file in <b>libsm</b>.
20 <h2> Synopsis </h2>
22 <pre>
23 #include &lt;sm/gen.h&gt;
25 #define NULL ((void*)0)
27 typedef int bool;
28 #define false 0
29 #define true 1
31 #define SM_MAX(a, b) ((a) &gt; (b) ? (a) : (b))
32 #define SM_MIN(a, b) ((a) &lt; (b) ? (a) : (b))
35 ** The following types can be accessed and updated atomically.
36 ** This is relevant in the context of signal handlers and threads.
38 typedef <i>some signed integral type</i> SM_ATOMIC_INT_T;
39 typedef <i>some unsigned integral type</i> SM_ATOMIC_UINT_T;
40 </pre>
42 </body>
43 </html>