D7net Mini Sh3LL v1
Current File : //usr/share/systemd/../doc/lz4/../libapr1-dev/html/group__apr__general.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Portable Runtime: Miscellaneous library routines</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Apache Portable Runtime
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#define-members">Macros</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Miscellaneous library routines<div class="ingroups"><a class="el" href="group___a_p_r.html">Apache Portability Runtime library</a></div></div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for Miscellaneous library routines:</div>
<div class="dyncontent">
<div class="center"><img src="group__apr__general.png" border="0" usemap="#group____apr____general" alt=""/></div>
<!-- MAP 0 -->
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga60fc208d93123acc7cf915a66e49e654"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#ga60fc208d93123acc7cf915a66e49e654">APR_ASCII_BLANK</a>   '\040'</td></tr>
<tr class="separator:ga60fc208d93123acc7cf915a66e49e654"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga91c14ef7f03e82c07f4d3d56f63f8b6a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#ga91c14ef7f03e82c07f4d3d56f63f8b6a">APR_ASCII_CR</a>   '\015'</td></tr>
<tr class="separator:ga91c14ef7f03e82c07f4d3d56f63f8b6a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9e76601cef56a7a5b25f73fe6d57d7d9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#ga9e76601cef56a7a5b25f73fe6d57d7d9">APR_ASCII_LF</a>   '\012'</td></tr>
<tr class="separator:ga9e76601cef56a7a5b25f73fe6d57d7d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac7162c0b5d026a0717aaa98bf581349d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#gac7162c0b5d026a0717aaa98bf581349d">APR_ASCII_TAB</a>   '\011'</td></tr>
<tr class="separator:gac7162c0b5d026a0717aaa98bf581349d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga41e537d6ad732766d12cd4eb61531678"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#ga41e537d6ad732766d12cd4eb61531678">APR_OFFSET</a>(p_type, field)   ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))</td></tr>
<tr class="separator:ga41e537d6ad732766d12cd4eb61531678"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac16b1187b6ea63706c5dd48c88323dec"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#gac16b1187b6ea63706c5dd48c88323dec">APR_OFFSETOF</a>(s_type, field)   <a class="el" href="group__apr__general.html#ga41e537d6ad732766d12cd4eb61531678">APR_OFFSET</a>(s_type*,field)</td></tr>
<tr class="separator:gac16b1187b6ea63706c5dd48c88323dec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3c4f50d14ebe7a6add282d879521d552"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#ga3c4f50d14ebe7a6add282d879521d552">APR_ALIGN</a>(size, boundary)   (((size) + ((boundary) - 1)) & ~((boundary) - 1))</td></tr>
<tr class="separator:ga3c4f50d14ebe7a6add282d879521d552"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab484e98426221f3212fcb67af0467381"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#gab484e98426221f3212fcb67af0467381">APR_ALIGN_DEFAULT</a>(size)   <a class="el" href="group__apr__general.html#ga3c4f50d14ebe7a6add282d879521d552">APR_ALIGN</a>(size, 8)</td></tr>
<tr class="separator:gab484e98426221f3212fcb67af0467381"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad12df83f1d3a090b658adc645555ca79"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#gad12df83f1d3a090b658adc645555ca79">memmove</a>(a, b, c)   bcopy(b,a,c)</td></tr>
<tr class="separator:gad12df83f1d3a090b658adc645555ca79"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gafe9e657d61b61d62ecba34299a82a7ea"><td class="memItemLeft" align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__general.html#gafe9e657d61b61d62ecba34299a82a7ea">apr_signum_t</a></td></tr>
<tr class="separator:gafe9e657d61b61d62ecba34299a82a7ea"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga16d6b0bd660cc3f9910924c6b6f4af8e"><td class="memItemLeft" align="right" valign="top"><a id="ga16d6b0bd660cc3f9910924c6b6f4af8e"></a>
void * </td><td class="memItemRight" valign="bottom"><b>memchr</b> (const void *s, int c, size_t n)</td></tr>
<tr class="separator:ga16d6b0bd660cc3f9910924c6b6f4af8e"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>This is collection of oddballs that didn't fit anywhere else, and might move to more appropriate headers with the release of APR 1.0. </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga3c4f50d14ebe7a6add282d879521d552"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3c4f50d14ebe7a6add282d879521d552">◆ </a></span>APR_ALIGN</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_ALIGN</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">size, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname">boundary </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>   (((size) + ((boundary) - 1)) & ~((boundary) - 1))</td>
</tr>
</table>
</div><div class="memdoc">
<p>Alignment macros </p>
</div>
</div>
<a id="gab484e98426221f3212fcb67af0467381"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab484e98426221f3212fcb67af0467381">◆ </a></span>APR_ALIGN_DEFAULT</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_ALIGN_DEFAULT</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">size</td><td>)</td>
<td>   <a class="el" href="group__apr__general.html#ga3c4f50d14ebe7a6add282d879521d552">APR_ALIGN</a>(size, 8)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Default alignment </p>
</div>
</div>
<a id="ga60fc208d93123acc7cf915a66e49e654"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga60fc208d93123acc7cf915a66e49e654">◆ </a></span>APR_ASCII_BLANK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_ASCII_BLANK   '\040'</td>
</tr>
</table>
</div><div class="memdoc">
<p>FALSE TRUE a space </p>
</div>
</div>
<a id="ga91c14ef7f03e82c07f4d3d56f63f8b6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga91c14ef7f03e82c07f4d3d56f63f8b6a">◆ </a></span>APR_ASCII_CR</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_ASCII_CR   '\015'</td>
</tr>
</table>
</div><div class="memdoc">
<p>a carrige return </p>
</div>
</div>
<a id="ga9e76601cef56a7a5b25f73fe6d57d7d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9e76601cef56a7a5b25f73fe6d57d7d9">◆ </a></span>APR_ASCII_LF</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_ASCII_LF   '\012'</td>
</tr>
</table>
</div><div class="memdoc">
<p>a line feed </p>
</div>
</div>
<a id="gac7162c0b5d026a0717aaa98bf581349d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac7162c0b5d026a0717aaa98bf581349d">◆ </a></span>APR_ASCII_TAB</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_ASCII_TAB   '\011'</td>
</tr>
</table>
</div><div class="memdoc">
<p>a tab </p>
</div>
</div>
<a id="ga41e537d6ad732766d12cd4eb61531678"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga41e537d6ad732766d12cd4eb61531678">◆ </a></span>APR_OFFSET</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_OFFSET</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">p_type, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname">field </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>   ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))</td>
</tr>
</table>
</div><div class="memdoc">
<p>Finding offsets of elements within structures. Taken from the X code... they've sweated portability of this stuff so we don't have to. Sigh... </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_type</td><td>pointer type name </td></tr>
<tr><td class="paramname">field</td><td>data field within the structure pointed to </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>offset </dd></dl>
</div>
</div>
<a id="gac16b1187b6ea63706c5dd48c88323dec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac16b1187b6ea63706c5dd48c88323dec">◆ </a></span>APR_OFFSETOF</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_OFFSETOF</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">s_type, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname">field </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>   <a class="el" href="group__apr__general.html#ga41e537d6ad732766d12cd4eb61531678">APR_OFFSET</a>(s_type*,field)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Finding offsets of elements within structures. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s_type</td><td>structure type name </td></tr>
<tr><td class="paramname">field</td><td>data field within the structure </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>offset </dd></dl>
</div>
</div>
<a id="gad12df83f1d3a090b658adc645555ca79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad12df83f1d3a090b658adc645555ca79">◆ </a></span>memmove</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define memmove</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">a, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname">b, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname">c </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>   bcopy(b,a,c)</td>
</tr>
</table>
</div><div class="memdoc">
<p>String and memory functions </p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="gafe9e657d61b61d62ecba34299a82a7ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafe9e657d61b61d62ecba34299a82a7ea">◆ </a></span>apr_signum_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int <a class="el" href="group__apr__general.html#gafe9e657d61b61d62ecba34299a82a7ea">apr_signum_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>signal numbers typedef </p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
AnonSec - 2021 | Recode By D7net