Sat, 07 Dec 2024 23:59:54 +0100
change cx_strcat variants to allow handling of ENOMEM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ucx: Globals</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="projectlogo"><img alt="Logo" src="uaplogo.png"/></td> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ucx </div> <div id="projectbrief">UAP Common Extensions</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </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="contents">   <h3><a id="index__"></a>- _ -</h3><ul> <li>__FUNCTION__ : <a class="el" href="test_8h.html#a828bb1dfda1afd67ca795075903d227d">test.h</a> </li> </ul> <h3><a id="index_a"></a>- a -</h3><ul> <li>alcalloc : <a class="el" href="allocator_8h.html#a8d71470816f88f78cb9a9686c57e1b10">allocator.h</a> </li> <li>alfree : <a class="el" href="allocator_8h.html#acd775785b54e97dc2b33a432c12c8fb2">allocator.h</a> </li> <li>almalloc : <a class="el" href="allocator_8h.html#ae1bc218fea8a35f4a3706f0beefcfb19">allocator.h</a> </li> <li>alrealloc : <a class="el" href="allocator_8h.html#a029ee5c9bcbb3f873571553f788c5820">allocator.h</a> </li> </ul> <h3><a id="index_p"></a>- p -</h3><ul> <li>PRIsstr : <a class="el" href="string_8h.html#a7d5bc48708405a28b23667e32dfcecae">string.h</a> </li> </ul> <h3><a id="index_s"></a>- s -</h3><ul> <li>S : <a class="el" href="string_8h.html#a8fa17c8cf4c36df48f4108c36da8573e">string.h</a> </li> <li>SC : <a class="el" href="string_8h.html#a7d261dd0bc358c957a368bc058c1ce53">string.h</a> </li> <li>SCSTR : <a class="el" href="string_8h.html#ad4293350a9b39a23a6546bd0fef2aeed">string.h</a> </li> <li>SFMT : <a class="el" href="string_8h.html#a23ed51e87385886bb65e8cd19c839362">string.h</a> </li> <li>sstrcasecmp : <a class="el" href="string_8h.html#a81b0f6df794152c2038703d4e9d0ad59">string.h</a> </li> <li>sstrcaseprefix : <a class="el" href="string_8h.html#acd3dc64e90db9b4046e14f115a815ff4">string.h</a> </li> <li>sstrcasesuffix : <a class="el" href="string_8h.html#a57eabd4862d531dd685bbf2feb8468bf">string.h</a> </li> <li>sstrcat : <a class="el" href="string_8h.html#a6af8a4c347c7fdb5980d4c4803be2759">string.h</a> </li> <li>sstrcat_a : <a class="el" href="string_8h.html#a6068d460f9bc05962666a917d26568b3">string.h</a> </li> <li>sstrcmp : <a class="el" href="string_8h.html#a7ae7156c8de57454ca38d306100b8160">string.h</a> </li> <li>sstrdup : <a class="el" href="string_8h.html#accbfd2b459a028d7af9fb7df6f977d80">string.h</a> </li> <li>sstrdup_a : <a class="el" href="string_8h.html#a8d098baada4ea9ad5d8b6343b5aec007">string.h</a> </li> <li>sstrlower : <a class="el" href="string_8h.html#a89343ea3e719f00ee802b557db57b769">string.h</a> </li> <li>sstrlower_a : <a class="el" href="string_8h.html#a4bb4742fe71115f493991d307cb22b23">string.h</a> </li> <li>sstrnlen : <a class="el" href="string_8h.html#a33fa945acc5ac2ce962e5ef13cf1638c">string.h</a> </li> <li>sstrprefix : <a class="el" href="string_8h.html#a7d73b66256384b26927e787318fdefa2">string.h</a> </li> <li>sstrscstr : <a class="el" href="string_8h.html#aa696932213265e10f864678686f4ccde">string.h</a> </li> <li>sstrsplit : <a class="el" href="string_8h.html#aa929984004c3576bfafb95031aca8eb7">string.h</a> </li> <li>sstrsplit_a : <a class="el" href="string_8h.html#ac9f69fa3a17e26a3a5f9d985b5844601">string.h</a> </li> <li>sstrstr : <a class="el" href="string_8h.html#a9d03be026afa9447c52bb34b9e3b895a">string.h</a> </li> <li>sstrsuffix : <a class="el" href="string_8h.html#ac6a5246f26be2e8a5f34d8995b7ec14e">string.h</a> </li> <li>sstrupper : <a class="el" href="string_8h.html#a084fe5a3a90d6fb6b15ecda03bb30824">string.h</a> </li> <li>sstrupper_a : <a class="el" href="string_8h.html#a5f0dd83c0176b812fb428004b2877a34">string.h</a> </li> <li>ST : <a class="el" href="string_8h.html#a9037956cca97a4e84b642f17f3d10378">string.h</a> </li> </ul> <h3><a id="index_u"></a>- u -</h3><ul> <li>UCX_ALLOCATOR_DEFAULT : <a class="el" href="allocator_8h.html#a1283a8f875f90a7af3aba5e031fc2e3f">allocator.h</a> </li> <li>ucx_array_util_set : <a class="el" href="array_8h.html#a1d959c29af3125bdd37cde3a554e729c">array.h</a> </li> <li>ucx_array_util_setptr : <a class="el" href="array_8h.html#a59a5b342965e790945f9c7a3f86b99f9">array.h</a> </li> <li>ucx_avl_default_new : <a class="el" href="avl_8h.html#ac2886d4b79b48c9fabf6408873f84cd2">avl.h</a> </li> <li>UCX_AVL_FIND_CLOSEST : <a class="el" href="avl_8h.html#af16f24d74fd6af0154de041566c6603b">avl.h</a> </li> <li>UCX_AVL_FIND_EXACT : <a class="el" href="avl_8h.html#aaaf4a6f6f661cda7791db239212285d9">avl.h</a> </li> <li>UCX_AVL_FIND_LOWER_BOUNDED : <a class="el" href="avl_8h.html#abd2446d544d5412b6997ee8a17bd368c">avl.h</a> </li> <li>UCX_AVL_FIND_UPPER_BOUNDED : <a class="el" href="avl_8h.html#ac74ee7649c1e206b08b31f37dd68ca5e">avl.h</a> </li> <li>ucx_bprintf : <a class="el" href="utils_8h.html#a9d7d65a420f026fcb6982803d5120519">utils.h</a> </li> <li>UCX_BUFFER_AUTOEXTEND : <a class="el" href="buffer_8h.html#a05f9565f2d04399168c3b1c152a632be">buffer.h</a> </li> <li>UCX_BUFFER_AUTOFREE : <a class="el" href="buffer_8h.html#a8bab11ad8a76719228b9ee91e2e45535">buffer.h</a> </li> <li>ucx_buffer_clear : <a class="el" href="buffer_8h.html#a374abd5aabfcc3ee0777a79d5fe651ab">buffer.h</a> </li> <li>ucx_buffer_clone : <a class="el" href="buffer_8h.html#a828353846428c2c2f695f9938f059e52">buffer.h</a> </li> <li>UCX_BUFFER_DEFAULT : <a class="el" href="buffer_8h.html#acc77c8ed7b26854f555d4a5d11e49ea2">buffer.h</a> </li> <li>ucx_buffer_to_sstr : <a class="el" href="buffer_8h.html#a0f4b64f1b3a74c4f6c5d9409d6b6086a">buffer.h</a> </li> <li>UCX_FOREACH : <a class="el" href="list_8h.html#a4b143b6526a410aa4d22cb3bb9365d70">list.h</a> </li> <li>ucx_logger_debug : <a class="el" href="logging_8h.html#a2936402799892db5138e5f1f8c25db0c">logging.h</a> </li> <li>UCX_LOGGER_DEBUG : <a class="el" href="logging_8h.html#acff01d1ef919ea997cfce755fc1b83d8">logging.h</a> </li> <li>ucx_logger_error : <a class="el" href="logging_8h.html#a6a9e472e14d6768e59d96d245e065397">logging.h</a> </li> <li>UCX_LOGGER_ERROR : <a class="el" href="logging_8h.html#aa254c07fe3a907613e2256a318d5c9a8">logging.h</a> </li> <li>UCX_LOGGER_INFO : <a class="el" href="logging_8h.html#a4b0178bf60a6129373ffc59114ca4c9b">logging.h</a> </li> <li>ucx_logger_info : <a class="el" href="logging_8h.html#a98464d8d51376ce2716dcc4eca00d5da">logging.h</a> </li> <li>UCX_LOGGER_LEVEL : <a class="el" href="logging_8h.html#aee18bc20e58ffb69910121512c350839">logging.h</a> </li> <li>ucx_logger_log : <a class="el" href="logging_8h.html#aa0245325031d95799b28def177fd14ec">logging.h</a> </li> <li>ucx_logger_register_level : <a class="el" href="logging_8h.html#a5cffc19502c4c90bfb3bd3bbcd18170a">logging.h</a> </li> <li>UCX_LOGGER_SOURCE : <a class="el" href="logging_8h.html#a0e0d72b12616c1e49ff8834eaf4cb8a2">logging.h</a> </li> <li>UCX_LOGGER_TIMESTAMP : <a class="el" href="logging_8h.html#a38607008268b4f776ee500fb95d2e823">logging.h</a> </li> <li>UCX_LOGGER_TRACE : <a class="el" href="logging_8h.html#a55b88d1fec7036d841b3ddd6195c5586">logging.h</a> </li> <li>ucx_logger_trace : <a class="el" href="logging_8h.html#a3031b7ff13f4cfae9c2916543be2877c">logging.h</a> </li> <li>UCX_LOGGER_WARN : <a class="el" href="logging_8h.html#abd01ca11486226ba34e8f7028d9fffba">logging.h</a> </li> <li>ucx_logger_warn : <a class="el" href="logging_8h.html#aca7bd861b646892813fd7310c0aa69af">logging.h</a> </li> <li>ucx_map_cstr_get : <a class="el" href="map_8h.html#a64e1fb55498fa502dd2ed8ed69062cdd">map.h</a> </li> <li>ucx_map_cstr_put : <a class="el" href="map_8h.html#ad9356b01425b934ab237b52339ac0cc3">map.h</a> </li> <li>ucx_map_cstr_remove : <a class="el" href="map_8h.html#a9c4405a5a75ecf64e2ef3d0c6501a9fe">map.h</a> </li> <li>UCX_MAP_FOREACH : <a class="el" href="map_8h.html#a940896c4aa1b13e54c55c04c3efc186b">map.h</a> </li> <li>ucx_map_int_get : <a class="el" href="map_8h.html#aa1681bd2178553cd092fd24c4d681d3c">map.h</a> </li> <li>ucx_map_int_put : <a class="el" href="map_8h.html#aaa30af79b4068c923895619e83f44367">map.h</a> </li> <li>ucx_map_int_remove : <a class="el" href="map_8h.html#aa767958b5468737755c09f7185b1770c">map.h</a> </li> <li>ucx_map_sstr_get : <a class="el" href="map_8h.html#a14d385f6b7f371f0507861cabd2eab4e">map.h</a> </li> <li>ucx_map_sstr_put : <a class="el" href="map_8h.html#ac26a8615bfc8f47ee9eaceb47645f98e">map.h</a> </li> <li>ucx_map_sstr_remove : <a class="el" href="map_8h.html#a48700ea86fadb9ea54d13010f9124df2">map.h</a> </li> <li>ucx_mempool_new_default : <a class="el" href="mempool_8h.html#a49f7bd1da5ac201d0cf54dc0f0d82dd2">mempool.h</a> </li> <li>ucx_sprintf : <a class="el" href="utils_8h.html#af9f333b66ecd639c347c7235f4992e2e">utils.h</a> </li> <li>ucx_stack_dim : <a class="el" href="stack_8h.html#a3b761343c6491222604341ebfa443226">stack.h</a> </li> <li>ucx_stack_empty : <a class="el" href="stack_8h.html#a4f7239dbd6c032c56812e370b71c1985">stack.h</a> </li> <li>ucx_stack_pop : <a class="el" href="stack_8h.html#a506b82374734ec476d086ddfb561174d">stack.h</a> </li> <li>ucx_stack_topsize : <a class="el" href="stack_8h.html#a030197051a803e87d5eeac5adb80b15a">stack.h</a> </li> <li>ucx_stream_bcopy : <a class="el" href="utils_8h.html#a6003a1750a66234169bd1f8cc84b297b">utils.h</a> </li> <li>ucx_stream_copy : <a class="el" href="utils_8h.html#a41ca1344f781c0d3bf7a414a6e811392">utils.h</a> </li> <li>UCX_STREAM_COPY_BUFSIZE : <a class="el" href="utils_8h.html#a23efd74fa5f701d4cf26ccbfd138a439">utils.h</a> </li> <li>ucx_stream_ncopy : <a class="el" href="utils_8h.html#add13f39a8af440b4f7e6f74339eaada2">utils.h</a> </li> <li>ucx_szmul : <a class="el" href="ucx_8h.html#a0b5ed6c1a0b15356f4f948acfd32a4cc">ucx.h</a> </li> <li>UCX_TEST : <a class="el" href="test_8h.html#a66cfb29c329fc9eaef071f2449836659">test.h</a> </li> <li>UCX_TEST_ASSERT : <a class="el" href="test_8h.html#a08f477cd12fc3fe741a92493e5df58a9">test.h</a> </li> <li>UCX_TEST_BEGIN : <a class="el" href="test_8h.html#a0547b8d4f3bcdb0633fdd8925e8aa5d4">test.h</a> </li> <li>UCX_TEST_CALL_SUBROUTINE : <a class="el" href="test_8h.html#a0efbab91c54f5237a2ab207f48cf0e51">test.h</a> </li> <li>UCX_TEST_END : <a class="el" href="test_8h.html#a86e64857c04f0447f8b16fb9c2b3b639">test.h</a> </li> <li>UCX_TEST_SUBROUTINE : <a class="el" href="test_8h.html#ae073cf5ead22cb27d662da048e16f44a">test.h</a> </li> <li>UCX_VERSION : <a class="el" href="ucx_8h.html#af12001920ca2fc1405615684e4dea284">ucx.h</a> </li> <li>UCX_VERSION_MAJOR : <a class="el" href="ucx_8h.html#aa57e5dd22d42387d748cc16777df1383">ucx.h</a> </li> <li>UCX_VERSION_MINOR : <a class="el" href="ucx_8h.html#a9ac10d6353e23d4615a87fc737c65eb0">ucx.h</a> </li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Dec 19 2019 19:58:24 for ucx by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>