4
<!-- Manpage converted by man2html 3.0.1 -->
8
curl_strequal, curl_strnequal - case insensitive string com�
13
<H2>SYNOPSIS</H2><PRE>
14
<B>#include</B> <B><curl/curl.h></B>
16
<B>int</B> <B>curl_strequal(char</B> <B>*</B><I>str1</I><B>,</B> <B>char</B> <B>*</B><I>str2</I><B>);</B>
18
<B>int</B> <B>curl_strenqual(char</B> <B>*</B><I>str1</I><B>,</B> <B>char</B> <B>*</B><I>str2</I><B>,</B> <B>size_t</B> <I>len</I>
22
<H2>DESCRIPTION</H2><PRE>
23
The <B>curl_strequal()</B> function compares the two strings <I>str1</I>
24
and <I>str2</I>, ignoring the case of the characters. It returns a
25
non-zero (TRUE) integer if the strings are identical.
27
The <B>curl_strnequal()</B> function is similar, except it only
28
compares the first <I>len</I> characters of <I>str1</I>.
30
These functions are provided by libcurl to enable applica�
31
tions to compare strings in a truly portable manner. There
32
are no standard portable case insensitive string comparison
33
functions. These two works on all platforms.
37
<H2>RETURN VALUE</H2><PRE>
38
Non-zero if the strings are identical. Zero if they're not.
42
<H2>SEE ALSO</H2><PRE>
43
<B>strcmp(3)</B>, <B>strcasecmp(3)</B>
70
Man(1) output converted with
71
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
2
<title>curl_strequal man page</title>
3
<meta name="generator" content="roffit 0.7">
4
<STYLE type="text/css">
30
background-color: #e0e0e0;
36
font-family: monospace;
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 <curl/curl.h></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="RETURN"></a><h2 class="nroffsh">RETURN VALUE</h2>
54
<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>
55
<p class="level0"><span Class="manpage">strcmp (3)</span> <span Class="manpage"> strcasecmp (3)</span> <p class="roffit">
56
This HTML page was made with <a href="http://daniel.haxx.se/projects/roffit/">roffit</a>.