Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / docs / libcurl / curl_strequal.html
blob01e1127b803639270bb579ac599c375a11392b55
1 <html><head>
2 <title>curl_strequal man page</title>
3 <meta name="generator" content="roffit 0.7">
4 <STYLE type="text/css">
5 P.level0 {
6 padding-left: 2em;
9 P.level1 {
10 padding-left: 4em;
13 P.level2 {
14 padding-left: 6em;
17 span.emphasis {
18 font-style: italic;
21 span.bold {
22 font-weight: bold;
25 span.manpage {
26 font-weight: bold;
29 h2.nroffsh {
30 background-color: #e0e0e0;
33 span.nroffip {
34 font-weight: bold;
35 font-size: 120%;
36 font-family: monospace;
39 p.roffit {
40 text-align: center;
41 font-size: 80%;
43 </STYLE>
44 </head><body>
46 <p class="level0"><a name="NAME"></a><h2 class="nroffsh">NAME</h2>
47 <p class="level0">curl_strequal, curl_strnequal - case insensitive string comparisons <a name="SYNOPSIS"></a><h2 class="nroffsh">SYNOPSIS</h2>
48 <p class="level0"><span Class="bold">#include &lt;curl/curl.h&gt;</span>
49 <p class="level0"><span Class="bold">int curl_strequal(char * str1 , char * str2 );</span>
50 <p class="level0"><span Class="bold">int curl_strenqual(char * str1 , char * str2 , size_t len );</span> <a name="DESCRIPTION"></a><h2 class="nroffsh">DESCRIPTION</h2>
51 <p class="level0">The <span Class="bold">curl_strequal()</span> function compares the two strings <span Class="emphasis">str1</span> and <span Class="emphasis">str2</span>, ignoring the case of the characters. It returns a non-zero (TRUE) integer if the strings are identical.
52 <p class="level0">The <span Class="bold">curl_strnequal()</span> function is similar, except it only compares the first <span Class="emphasis">len</span> characters of <span Class="emphasis">str1</span>.
53 <p class="level0">These functions are provided by libcurl to enable applications to compare strings in a truly portable manner. There are no standard portable case insensitive string comparison functions. These two works on all platforms. <a name="AVAILABILITY"></a><h2 class="nroffsh">AVAILABILITY</h2>
54 <p class="level0">These functions will be removed from the public libcurl API in a near future. They will instead be made "available" by source code access only, and then as curlx_strequal() and curlx_strenqual(). <a name="RETURN"></a><h2 class="nroffsh">RETURN VALUE</h2>
55 <p class="level0">Non-zero if the strings are identical. Zero if they're not. <a name="SEE"></a><h2 class="nroffsh">SEE ALSO</h2>
56 <p class="level0"><span Class="manpage">strcmp (3)</span> <span Class="manpage"> strcasecmp (3)</span> <p class="roffit">
57 This HTML page was made with <a href="http://daniel.haxx.se/projects/roffit/">roffit</a>.
58 </body></html>