Add to git.
[c2lib.git] / doc / vector_compare.3.html
1 <html>
2 <head>
3 <meta name="generator" content="groff -Thtml, see www.gnu.org">
4 <meta name="Content-Style" content="text/css">
5 <title>vector_compare</title>
6 </head>
7 <body>
8
9 <h1 align=center>vector_compare</h1>
10 <a href="#NAME">NAME</a><br>
11 <a href="#SYNOPSIS">SYNOPSIS</a><br>
12 <a href="#DESCRIPTION">DESCRIPTION</a><br>
13 <a href="#AUTHOR">AUTHOR</a><br>
14 <a href="#LICENSE">LICENSE</a><br>
15 <a href="#VERSION">VERSION</a><br>
16
17 <hr>
18 <!-- Creator     : groff version 1.17.2 -->
19 <!-- CreationDate: Fri May  3 14:58:53 2002 -->
20 <a name="NAME"></a>
21 <h2>NAME</h2>
22 <table width="100%" border=0 rules="none" frame="void"
23        cols="2" cellspacing="0" cellpadding="0">
24 <tr valign="top" align="left">
25 <td width="10%"></td><td width="90%">
26 vector_compare, _vector_compare - compare two vectors</td></table>
27 <a name="SYNOPSIS"></a>
28 <h2>SYNOPSIS</h2>
29
30 <table width="100%" border=0 rules="none" frame="void"
31        cols="2" cellspacing="0" cellpadding="0">
32 <tr valign="top" align="left">
33 <td width="10%"></td><td width="90%">
34 <pre><b>#include &lt;vector.h&gt;
35
36 #define vector_compare(v1,v2,compare_fn) _vector_compare ((v1), (v2), (int (*)(const void *,const void *)) (compare_fn))
37 int _vector_compare (vector, vector, int (*compare_fn) (const void *, const void *));
38 </b></pre></td></table>
39 <a name="DESCRIPTION"></a>
40 <h2>DESCRIPTION</h2>
41
42 <table width="100%" border=0 rules="none" frame="void"
43        cols="2" cellspacing="0" cellpadding="0">
44 <tr valign="top" align="left">
45 <td width="10%"></td><td width="90%">
46 Compare two vectors. This returns 0 if the two vectors are
47 identical. It returns &gt; 0 if <b>v1</b> &gt; <b>v2</b>.
48 This returns &lt; 0 if <b>v1</b> &lt;
49 <b>v2</b>.</td></table>
50 <a name="AUTHOR"></a>
51 <h2>AUTHOR</h2>
52
53 <table width="100%" border=0 rules="none" frame="void"
54        cols="2" cellspacing="0" cellpadding="0">
55 <tr valign="top" align="left">
56 <td width="10%"></td><td width="90%">
57 Richard Jones &lt;rich@annexia.org&gt;</td></table>
58 <a name="LICENSE"></a>
59 <h2>LICENSE</h2>
60
61 <table width="100%" border=0 rules="none" frame="void"
62        cols="2" cellspacing="0" cellpadding="0">
63 <tr valign="top" align="left">
64 <td width="10%"></td><td width="90%">
65 GNU LGPL (see http://www.gnu.org/)</td></table>
66 <a name="VERSION"></a>
67 <h2>VERSION</h2>
68
69 <table width="100%" border=0 rules="none" frame="void"
70        cols="2" cellspacing="0" cellpadding="0">
71 <tr valign="top" align="left">
72 <td width="10%"></td><td width="90%">
73 c2lib-1.2.13</td></table>
74 <hr>
75 </body>
76 </html>