2019-07-08 17:15:34 -07:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2024-06-04 14:37:16 -07:00
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" >
2019-07-08 17:15:34 -07:00
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
2024-06-04 14:37:16 -07:00
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
< meta name = "generator" content = "Doxygen 1.11.0" / >
2019-07-08 17:15:34 -07:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > mi-malloc: Posix< / 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 >
2024-06-04 14:37:16 -07:00
< script type = "text/javascript" src = "clipboard.js" > < / script >
2019-07-08 17:15:34 -07:00
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
2024-06-04 14:37:16 -07:00
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "cookie.js" > < / script >
2019-07-08 17:15:34 -07:00
< 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 >
< script type = "text/javascript" >
2024-06-04 14:37:16 -07:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() { init_search(); });
2019-07-08 17:15:34 -07:00
/* @license-end */
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "mimalloc-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 >
2024-06-04 14:37:16 -07:00
< tr id = "projectrow" >
2019-07-08 17:15:34 -07:00
< td id = "projectlogo" > < img alt = "Logo" src = "mimalloc-logo.svg" / > < / td >
2024-06-04 14:37:16 -07:00
< td id = "projectalign" >
< div id = "projectname" > mi-malloc< span id = "projectnumber" >   1.8/2.1< / span >
2019-07-08 17:15:34 -07:00
< / div >
< / td >
2024-06-04 14:37:16 -07:00
< td > < div id = "MSearchBox" class = "MSearchBoxInactive" >
2019-07-08 17:15:34 -07:00
< span class = "left" >
2024-06-04 14:37:16 -07:00
< span id = "MSearchSelect" onmouseover = "return searchBox.OnSearchSelectShow()" onmouseout = "return searchBox.OnSearchSelectHide()" >   < / span >
< input type = "text" id = "MSearchField" value = "" placeholder = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
2019-07-08 17:15:34 -07:00
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
2021-12-18 16:36:37 -08:00
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.svg" alt = "" / > < / a >
2019-07-08 17:15:34 -07:00
< / span >
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2024-06-04 14:37:16 -07:00
<!-- Generated by Doxygen 1.11.0 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
< / script >
2019-07-08 17:15:34 -07:00
< script type = "text/javascript" >
2024-06-04 14:37:16 -07:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() { codefold.init(0); });
2019-07-08 17:15:34 -07:00
/* @license-end */
< / script >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< div id = "splitbar" style = "-moz-user-select:none;"
2019-07-08 17:15:34 -07:00
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
2024-06-04 14:37:16 -07:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function(){initNavTree('group__posix.html',''); initResizable(true); });
2019-07-08 17:15:34 -07:00
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- 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" >
2024-06-04 14:37:16 -07:00
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" > < / div >
< div class = "SRStatus" id = "Loading" > Loading...< / div >
< div class = "SRStatus" id = "Searching" > Searching...< / div >
< div class = "SRStatus" id = "NoMatches" > No Matches< / div >
< / div >
< / div >
< / div >
2019-07-08 17:15:34 -07:00
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
2024-06-04 14:37:16 -07:00
< div class = "headertitle" > < div class = "title" > Posix< / div > < / div >
2019-07-08 17:15:34 -07:00
< / div > <!-- header -->
< div class = "contents" >
< table class = "memberdecls" >
2024-06-04 14:37:16 -07:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "func-members" name = "func-members" > < / a >
2019-07-08 17:15:34 -07:00
Functions< / h2 > < / td > < / tr >
2024-06-04 14:37:16 -07:00
< tr class = "memitem:ga705dc7a64bffacfeeb0141501a5c35d7" id = "r_ga705dc7a64bffacfeeb0141501a5c35d7" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga705dc7a64bffacfeeb0141501a5c35d7" > mi_cfree< / a > (void *p)< / td > < / tr >
< tr class = "memdesc:ga705dc7a64bffacfeeb0141501a5c35d7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Just as < code > free< / code > but also checks if the pointer < code > p< / code > belongs to our heap. < br / > < / td > < / tr >
< tr class = "separator:ga705dc7a64bffacfeeb0141501a5c35d7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga66bcfeb4faedbb42b796bc680821ef84" id = "r_ga66bcfeb4faedbb42b796bc680821ef84" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga66bcfeb4faedbb42b796bc680821ef84" > mi__expand< / a > (void *p, size_t newsize)< / td > < / tr >
< tr class = "separator:ga66bcfeb4faedbb42b796bc680821ef84" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga4531c9e775bb3ae12db57c1ba8a5d7de" id = "r_ga4531c9e775bb3ae12db57c1ba8a5d7de" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga4531c9e775bb3ae12db57c1ba8a5d7de" > mi_malloc_size< / a > (const void *p)< / td > < / tr >
2019-07-08 17:15:34 -07:00
< tr class = "separator:ga4531c9e775bb3ae12db57c1ba8a5d7de" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-06-04 14:37:16 -07:00
< tr class = "memitem:ga9d23ac7885fed7413c11d8e0ffa31071" id = "r_ga9d23ac7885fed7413c11d8e0ffa31071" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga9d23ac7885fed7413c11d8e0ffa31071" > mi_malloc_good_size< / a > (size_t size)< / td > < / tr >
< tr class = "separator:ga9d23ac7885fed7413c11d8e0ffa31071" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga06d07cf357bbac5c73ba5d0c0c421e17" id = "r_ga06d07cf357bbac5c73ba5d0c0c421e17" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga06d07cf357bbac5c73ba5d0c0c421e17" > mi_malloc_usable_size< / a > (const void *p)< / td > < / tr >
2019-07-08 17:15:34 -07:00
< tr class = "separator:ga06d07cf357bbac5c73ba5d0c0c421e17" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-06-04 14:37:16 -07:00
< tr class = "memitem:gacff84f226ba9feb2031b8992e5579447" id = "r_gacff84f226ba9feb2031b8992e5579447" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#gacff84f226ba9feb2031b8992e5579447" > mi_posix_memalign< / a > (void **p, size_t alignment, size_t size)< / td > < / tr >
2019-07-08 17:15:34 -07:00
< tr class = "separator:gacff84f226ba9feb2031b8992e5579447" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-06-04 14:37:16 -07:00
< tr class = "memitem:gad5a69c8fea96aa2b7a7c818c2130090a" id = "r_gad5a69c8fea96aa2b7a7c818c2130090a" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#gad5a69c8fea96aa2b7a7c818c2130090a" > mi__posix_memalign< / a > (void **p, size_t alignment, size_t size)< / td > < / tr >
2019-07-08 17:15:34 -07:00
< tr class = "separator:gad5a69c8fea96aa2b7a7c818c2130090a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-06-04 14:37:16 -07:00
< tr class = "memitem:ga726867f13fd29ca36064954c0285b1d8" id = "r_ga726867f13fd29ca36064954c0285b1d8" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga726867f13fd29ca36064954c0285b1d8" > mi_memalign< / a > (size_t alignment, size_t size)< / td > < / tr >
< tr class = "separator:ga726867f13fd29ca36064954c0285b1d8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga50cafb9722020402f065de93799f64ca" id = "r_ga50cafb9722020402f065de93799f64ca" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga50cafb9722020402f065de93799f64ca" > mi_valloc< / a > (size_t size)< / td > < / tr >
< tr class = "separator:ga50cafb9722020402f065de93799f64ca" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga644bebccdbb2821542dd8c7e7641f476" id = "r_ga644bebccdbb2821542dd8c7e7641f476" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga644bebccdbb2821542dd8c7e7641f476" > mi_pvalloc< / a > (size_t size)< / td > < / tr >
< tr class = "separator:ga644bebccdbb2821542dd8c7e7641f476" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga430ed1513f0571ff83be00ec58a98ee0" id = "r_ga430ed1513f0571ff83be00ec58a98ee0" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga430ed1513f0571ff83be00ec58a98ee0" > mi_aligned_alloc< / a > (size_t alignment, size_t size)< / td > < / tr >
< tr class = "separator:ga430ed1513f0571ff83be00ec58a98ee0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa9fd7f25c9ac3a20e89b33bd6e383fcf" id = "r_gaa9fd7f25c9ac3a20e89b33bd6e383fcf" > < td class = "memItemLeft" align = "right" valign = "top" > unsigned short *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#gaa9fd7f25c9ac3a20e89b33bd6e383fcf" > mi_wcsdup< / a > (const unsigned short *s)< / td > < / tr >
< tr class = "separator:gaa9fd7f25c9ac3a20e89b33bd6e383fcf" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7b82a44094fdec4d2084eb4288a979b0" id = "r_ga7b82a44094fdec4d2084eb4288a979b0" > < td class = "memItemLeft" align = "right" valign = "top" > unsigned char *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga7b82a44094fdec4d2084eb4288a979b0" > mi_mbsdup< / a > (const unsigned char *s)< / td > < / tr >
< tr class = "separator:ga7b82a44094fdec4d2084eb4288a979b0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab41369c1a1da7504013a7a0b1d4dd958" id = "r_gab41369c1a1da7504013a7a0b1d4dd958" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#gab41369c1a1da7504013a7a0b1d4dd958" > mi_dupenv_s< / a > (char **buf, size_t *size, const char *name)< / td > < / tr >
< tr class = "separator:gab41369c1a1da7504013a7a0b1d4dd958" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6ac6a6a8f3c96f1af24bb8d0439cbbd1" id = "r_ga6ac6a6a8f3c96f1af24bb8d0439cbbd1" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga6ac6a6a8f3c96f1af24bb8d0439cbbd1" > mi_wdupenv_s< / a > (unsigned short **buf, size_t *size, const unsigned short *name)< / td > < / tr >
< tr class = "separator:ga6ac6a6a8f3c96f1af24bb8d0439cbbd1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadfeccb72748a2f6305474a37d9d57bce" id = "r_gadfeccb72748a2f6305474a37d9d57bce" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#gadfeccb72748a2f6305474a37d9d57bce" > mi_reallocarray< / a > (void *p, size_t count, size_t size)< / td > < / tr >
< tr class = "memdesc:gadfeccb72748a2f6305474a37d9d57bce" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Correspond s to < a href = "https://www.freebsd.org/cgi/man.cgi?query=reallocarray&sektion=3&manpath=freebsd-release-ports" > reallocarray< / a > in FreeBSD. < br / > < / td > < / tr >
< tr class = "separator:gadfeccb72748a2f6305474a37d9d57bce" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7e1934d60a3e697950eeb48e042bfad5" id = "r_ga7e1934d60a3e697950eeb48e042bfad5" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga7e1934d60a3e697950eeb48e042bfad5" > mi_reallocarr< / a > (void *p, size_t count, size_t size)< / td > < / tr >
< tr class = "memdesc:ga7e1934d60a3e697950eeb48e042bfad5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Corresponds to < a href = "https://man.netbsd.org/reallocarr.3" > reallocarr< / a > in NetBSD. < br / > < / td > < / tr >
2021-12-18 16:36:37 -08:00
< tr class = "separator:ga7e1934d60a3e697950eeb48e042bfad5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-06-04 14:37:16 -07:00
< tr class = "memitem:gaf82cbb4b4f24acf723348628451798d3" id = "r_gaf82cbb4b4f24acf723348628451798d3" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#gaf82cbb4b4f24acf723348628451798d3" > mi_aligned_recalloc< / a > (void *p, size_t newcount, size_t size, size_t alignment)< / td > < / tr >
< tr class = "separator:gaf82cbb4b4f24acf723348628451798d3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga16570deddd559001b44953eedbad0084" id = "r_ga16570deddd559001b44953eedbad0084" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga16570deddd559001b44953eedbad0084" > mi_aligned_offset_recalloc< / a > (void *p, size_t newcount, size_t size, size_t alignment, size_t offset)< / td > < / tr >
< tr class = "separator:ga16570deddd559001b44953eedbad0084" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae01389eedab8d67341ff52e2aad80ebb" id = "r_gae01389eedab8d67341ff52e2aad80ebb" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#gae01389eedab8d67341ff52e2aad80ebb" > mi_free_size< / a > (void *p, size_t size)< / td > < / tr >
2019-07-08 17:15:34 -07:00
< tr class = "separator:gae01389eedab8d67341ff52e2aad80ebb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-06-04 14:37:16 -07:00
< tr class = "memitem:ga72e9d7ffb5fe94d69bc722c8506e27bc" id = "r_ga72e9d7ffb5fe94d69bc722c8506e27bc" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga72e9d7ffb5fe94d69bc722c8506e27bc" > mi_free_size_aligned< / a > (void *p, size_t size, size_t alignment)< / td > < / tr >
2019-07-08 17:15:34 -07:00
< tr class = "separator:ga72e9d7ffb5fe94d69bc722c8506e27bc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-06-04 14:37:16 -07:00
< tr class = "memitem:ga0d28d5cf61e6bfbb18c63092939fe5c9" id = "r_ga0d28d5cf61e6bfbb18c63092939fe5c9" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ga0d28d5cf61e6bfbb18c63092939fe5c9" > mi_free_aligned< / a > (void *p, size_t alignment)< / td > < / tr >
2019-07-08 17:15:34 -07:00
< tr class = "separator:ga0d28d5cf61e6bfbb18c63092939fe5c9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2024-06-04 14:37:16 -07:00
< p > < code > mi_< / code > prefixed implementations of various Posix, Unix, and C++ allocation functions. Defined for convenience as all redirect to the regular mimalloc API. < / p >
2019-07-08 17:15:34 -07:00
< h2 class = "groupheader" > Function Documentation< / h2 >
2024-06-04 14:37:16 -07:00
< a id = "ga66bcfeb4faedbb42b796bc680821ef84" name = "ga66bcfeb4faedbb42b796bc680821ef84" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga66bcfeb4faedbb42b796bc680821ef84" > ◆   < / a > < / span > mi__expand()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void * mi__expand < / td >
< td > (< / td >
< td class = "paramtype" > void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > newsize< / em > < / span >   )< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "gad5a69c8fea96aa2b7a7c818c2130090a" name = "gad5a69c8fea96aa2b7a7c818c2130090a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gad5a69c8fea96aa2b7a7c818c2130090a" > ◆   < / a > < / span > mi__posix_memalign()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int mi__posix_memalign < / td >
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > void **< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > alignment< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span >   )< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "ga430ed1513f0571ff83be00ec58a98ee0" name = "ga430ed1513f0571ff83be00ec58a98ee0" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga430ed1513f0571ff83be00ec58a98ee0" > ◆   < / a > < / span > mi_aligned_alloc()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void * mi_aligned_alloc < / td >
< td > (< / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > alignment< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span >   )< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "ga16570deddd559001b44953eedbad0084" name = "ga16570deddd559001b44953eedbad0084" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga16570deddd559001b44953eedbad0084" > ◆   < / a > < / span > mi_aligned_offset_recalloc()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void * mi_aligned_offset_recalloc < / td >
< td > (< / td >
< td class = "paramtype" > void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > newcount< / em > < / span > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > alignment< / em > < / span > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > offset< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "gaf82cbb4b4f24acf723348628451798d3" name = "gaf82cbb4b4f24acf723348628451798d3" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gaf82cbb4b4f24acf723348628451798d3" > ◆   < / a > < / span > mi_aligned_recalloc()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > void * mi_aligned_recalloc < / td >
2019-07-08 17:15:34 -07:00
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > newcount< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > alignment< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "ga705dc7a64bffacfeeb0141501a5c35d7" name = "ga705dc7a64bffacfeeb0141501a5c35d7" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga705dc7a64bffacfeeb0141501a5c35d7" > ◆   < / a > < / span > mi_cfree()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void mi_cfree < / td >
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > < / td > < td > )< / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-09-11 20:48:41 -07:00
< p > Just as < code > free< / code > but also checks if the pointer < code > p< / code > belongs to our heap. < / p >
2019-07-08 17:15:34 -07:00
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "gab41369c1a1da7504013a7a0b1d4dd958" name = "gab41369c1a1da7504013a7a0b1d4dd958" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gab41369c1a1da7504013a7a0b1d4dd958" > ◆   < / a > < / span > mi_dupenv_s()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > int mi_dupenv_s < / td >
2019-07-08 17:15:34 -07:00
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > char **< / td > < td class = "paramname" > < span class = "paramname" > < em > buf< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t *< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "paramkey" > < / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > const char *< / td > < td class = "paramname" > < span class = "paramname" > < em > name< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "ga0d28d5cf61e6bfbb18c63092939fe5c9" name = "ga0d28d5cf61e6bfbb18c63092939fe5c9" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga0d28d5cf61e6bfbb18c63092939fe5c9" > ◆   < / a > < / span > mi_free_aligned()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > void mi_free_aligned < / td >
2019-07-08 17:15:34 -07:00
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > alignment< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
2024-06-04 14:37:16 -07:00
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "gae01389eedab8d67341ff52e2aad80ebb" name = "gae01389eedab8d67341ff52e2aad80ebb" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gae01389eedab8d67341ff52e2aad80ebb" > ◆   < / a > < / span > mi_free_size()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2019-07-08 17:15:34 -07:00
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > void mi_free_size < / td >
< td > (< / td >
< td class = "paramtype" > void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "ga72e9d7ffb5fe94d69bc722c8506e27bc" name = "ga72e9d7ffb5fe94d69bc722c8506e27bc" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga72e9d7ffb5fe94d69bc722c8506e27bc" > ◆   < / a > < / span > mi_free_size_aligned()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void mi_free_size_aligned < / td >
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > alignment< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
2024-06-04 14:37:16 -07:00
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "ga9d23ac7885fed7413c11d8e0ffa31071" name = "ga9d23ac7885fed7413c11d8e0ffa31071" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga9d23ac7885fed7413c11d8e0ffa31071" > ◆   < / a > < / span > mi_malloc_good_size()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2019-07-08 17:15:34 -07:00
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > size_t mi_malloc_good_size < / td >
< td > (< / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span > < / td > < td > )< / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "ga4531c9e775bb3ae12db57c1ba8a5d7de" name = "ga4531c9e775bb3ae12db57c1ba8a5d7de" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga4531c9e775bb3ae12db57c1ba8a5d7de" > ◆   < / a > < / span > mi_malloc_size()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > size_t mi_malloc_size < / td >
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > const void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > < / td > < td > )< / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "ga06d07cf357bbac5c73ba5d0c0c421e17" name = "ga06d07cf357bbac5c73ba5d0c0c421e17" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga06d07cf357bbac5c73ba5d0c0c421e17" > ◆   < / a > < / span > mi_malloc_usable_size()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > size_t mi_malloc_usable_size < / td >
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > const void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > < / td > < td > )< / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "ga7b82a44094fdec4d2084eb4288a979b0" name = "ga7b82a44094fdec4d2084eb4288a979b0" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga7b82a44094fdec4d2084eb4288a979b0" > ◆   < / a > < / span > mi_mbsdup()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > unsigned char * mi_mbsdup < / td >
2019-07-08 17:15:34 -07:00
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > const unsigned char *< / td > < td class = "paramname" > < span class = "paramname" > < em > s< / em > < / span > < / td > < td > )< / td >
< td > < / td >
2019-07-08 17:15:34 -07:00
< / tr >
2024-06-04 14:37:16 -07:00
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "ga726867f13fd29ca36064954c0285b1d8" name = "ga726867f13fd29ca36064954c0285b1d8" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga726867f13fd29ca36064954c0285b1d8" > ◆   < / a > < / span > mi_memalign()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2019-07-08 17:15:34 -07:00
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > void * mi_memalign < / td >
< td > (< / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > alignment< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "paramkey" > < / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "gacff84f226ba9feb2031b8992e5579447" name = "gacff84f226ba9feb2031b8992e5579447" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gacff84f226ba9feb2031b8992e5579447" > ◆   < / a > < / span > mi_posix_memalign()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int mi_posix_memalign < / td >
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > void **< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > alignment< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "ga644bebccdbb2821542dd8c7e7641f476" name = "ga644bebccdbb2821542dd8c7e7641f476" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga644bebccdbb2821542dd8c7e7641f476" > ◆   < / a > < / span > mi_pvalloc()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > void * mi_pvalloc < / td >
2019-07-08 17:15:34 -07:00
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span > < / td > < td > )< / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-12-18 16:36:37 -08:00
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "ga7e1934d60a3e697950eeb48e042bfad5" name = "ga7e1934d60a3e697950eeb48e042bfad5" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga7e1934d60a3e697950eeb48e042bfad5" > ◆   < / a > < / span > mi_reallocarr()< / h2 >
2021-12-18 16:36:37 -08:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int mi_reallocarr < / td >
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
2021-12-18 16:36:37 -08:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > count< / em > < / span > , < / td >
2021-12-18 16:36:37 -08:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span >   )< / td >
2021-12-18 16:36:37 -08:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Corresponds to < a href = "https://man.netbsd.org/reallocarr.3" > reallocarr< / a > in NetBSD. < / p >
2019-07-08 17:15:34 -07:00
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "gadfeccb72748a2f6305474a37d9d57bce" name = "gadfeccb72748a2f6305474a37d9d57bce" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gadfeccb72748a2f6305474a37d9d57bce" > ◆   < / a > < / span > mi_reallocarray()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > void * mi_reallocarray < / td >
2019-07-08 17:15:34 -07:00
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > void *< / td > < td class = "paramname" > < span class = "paramname" > < em > p< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > count< / em > < / span > , < / td >
2019-07-08 17:15:34 -07:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
2024-06-04 14:37:16 -07:00
< / table >
< / div > < div class = "memdoc" >
< p > Correspond s to < a href = "https://www.freebsd.org/cgi/man.cgi?query=reallocarray&sektion=3&manpath=freebsd-release-ports" > reallocarray< / a > in FreeBSD. < / p >
< / div >
< / div >
< a id = "ga50cafb9722020402f065de93799f64ca" name = "ga50cafb9722020402f065de93799f64ca" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga50cafb9722020402f065de93799f64ca" > ◆   < / a > < / span > mi_valloc()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2019-07-08 17:15:34 -07:00
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > void * mi_valloc < / td >
< td > (< / td >
< td class = "paramtype" > size_t< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span > < / td > < td > )< / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-06-04 14:37:16 -07:00
< / div >
< / div >
< a id = "gaa9fd7f25c9ac3a20e89b33bd6e383fcf" name = "gaa9fd7f25c9ac3a20e89b33bd6e383fcf" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gaa9fd7f25c9ac3a20e89b33bd6e383fcf" > ◆   < / a > < / span > mi_wcsdup()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > unsigned short * mi_wcsdup < / td >
< td > (< / td >
< td class = "paramtype" > const unsigned short *< / td > < td class = "paramname" > < span class = "paramname" > < em > s< / em > < / span > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-12-18 16:36:37 -08:00
2019-07-08 17:15:34 -07:00
< / div >
< / div >
2024-06-04 14:37:16 -07:00
< a id = "ga6ac6a6a8f3c96f1af24bb8d0439cbbd1" name = "ga6ac6a6a8f3c96f1af24bb8d0439cbbd1" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga6ac6a6a8f3c96f1af24bb8d0439cbbd1" > ◆   < / a > < / span > mi_wdupenv_s()< / h2 >
2019-07-08 17:15:34 -07:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-06-04 14:37:16 -07:00
< td class = "memname" > int mi_wdupenv_s < / td >
2019-07-08 17:15:34 -07:00
< td > (< / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > unsigned short **< / td > < td class = "paramname" > < span class = "paramname" > < em > buf< / em > < / span > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t *< / td > < td class = "paramname" > < span class = "paramname" > < em > size< / em > < / span > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2019-07-08 17:15:34 -07:00
< td > < / td >
2024-06-04 14:37:16 -07:00
< td class = "paramtype" > const unsigned short *< / td > < td class = "paramname" > < span class = "paramname" > < em > name< / em > < / span >   )< / td >
2019-07-08 17:15:34 -07:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
2024-06-04 14:37:16 -07:00
< li class = "footer" > Generated by < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.11.0 < / li >
2019-07-08 17:15:34 -07:00
< / ul >
< / div >
< / body >
< / html >