📄 group__apr__strings.html
字号:
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign=top><em>a</em> </td><td>The first string to compare </td></tr>
<tr><td></td><td valign=top><em>b</em> </td><td>The second string to compare </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Either <0, 0, or >0. If the first string is less than the second this returns <0, if they are equivalent it returns 0, and if the first string is greater than second string it retuns >0. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="ga0" doxytag="apr_strings.h::apr_strnatcmp" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> int apr_strnatcmp </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">char const * </td>
<td class="mdname" nowrap> <em>a</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>char const * </td>
<td class="mdname" nowrap> <em>b</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Do a natural order comparison of two strings. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign=top><em>a</em> </td><td>The first string to compare </td></tr>
<tr><td></td><td valign=top><em>b</em> </td><td>The second string to compare </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Either <0, 0, or >0. If the first string is less than the second this returns <0, if they are equivalent it returns 0, and if the first string is greater than second string it retuns >0. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="ga17" doxytag="apr_strings.h::apr_strtoff" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_strtoff </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">apr_off_t * </td>
<td class="mdname" nowrap> <em>offset</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>const char * </td>
<td class="mdname" nowrap> <em>buf</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>char ** </td>
<td class="mdname" nowrap> <em>end</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>int </td>
<td class="mdname" nowrap> <em>base</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Convert a numeric string into an apr_off_t numeric value. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign=top><em>offset</em> </td><td>The value of the parsed string. </td></tr>
<tr><td></td><td valign=top><em>buf</em> </td><td>The string to parse. It may contain optional whitespace, followed by an optional '+' (positive, default) or '-' (negative) character, followed by an optional '0x' prefix if base is 0 or 16, followed by numeric digits appropriate for base. </td></tr>
<tr><td></td><td valign=top><em>end</em> </td><td>A pointer to the end of the valid character in buf. If not NULL, it is set to the first invalid character in buf. </td></tr>
<tr><td></td><td valign=top><em>base</em> </td><td>A numeric base in the range between 2 and 36 inclusive, or 0. If base is zero, buf will be treated as base ten unless its digits are prefixed with '0x', in which case it will be treated as base 16. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="ga18" doxytag="apr_strings.h::apr_strtoi64" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> apr_int64_t apr_strtoi64 </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const char * </td>
<td class="mdname" nowrap> <em>buf</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>char ** </td>
<td class="mdname" nowrap> <em>end</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>int </td>
<td class="mdname" nowrap> <em>base</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
parse a numeric string into a 64-bit numeric value <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign=top><em>buf</em> </td><td>The string to parse. It may contain optional whitespace, followed by an optional '+' (positive, default) or '-' (negative) character, followed by an optional '0x' prefix if base is 0 or 16, followed by numeric digits appropriate for base. </td></tr>
<tr><td></td><td valign=top><em>end</em> </td><td>A pointer to the end of the valid character in buf. If not NULL, it is set to the first invalid character in buf. </td></tr>
<tr><td></td><td valign=top><em>base</em> </td><td>A numeric base in the range between 2 and 36 inclusive, or 0. If base is zero, buf will be treated as base ten unless its digits are prefixed with '0x', in which case it will be treated as base 16. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The numeric value of the string. On overflow, errno is set to ERANGE. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="ga13" doxytag="apr_strings.h::apr_strtok" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> char* apr_strtok </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">char * </td>
<td class="mdname" nowrap> <em>str</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>const char * </td>
<td class="mdname" nowrap> <em>sep</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>char ** </td>
<td class="mdname" nowrap> <em>last</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Split a string into separate null-terminated tokens. The tokens are delimited in the string by one or more characters from the sep argument. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign=top><em>str</em> </td><td>The string to separate; this should be specified on the first call to <a class="el" href="group__apr__strings.html#ga13">apr_strtok()</a> for a given string, and NULL on subsequent calls. </td></tr>
<tr><td></td><td valign=top><em>sep</em> </td><td>The set of delimiters </td></tr>
<tr><td></td><td valign=top><em>last</em> </td><td>Internal state saved by <a class="el" href="group__apr__strings.html#ga13">apr_strtok()</a> between calls. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The next token from the string </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="ga12" doxytag="apr_strings.h::apr_tokenize_to_argv" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_tokenize_to_argv </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const char * </td>
<td class="mdname" nowrap> <em>arg_str</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>char *** </td>
<td class="mdname" nowrap> <em>argv_out</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td>
<td class="mdname" nowrap> <em>token_context</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Convert the arguments to a program from one string to an array of strings terminated by a NULL pointer <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign=top><em>arg_str</em> </td><td>The arguments to convert </td></tr>
<tr><td></td><td valign=top><em>argv_out</em> </td><td>Output location. This is a pointer to an array of strings. </td></tr>
<tr><td></td><td valign=top><em>token_context</em> </td><td>Pool to use. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 7 13:18:26 2005 for Apache Portable Runtime by
<a href="../../../www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -