wut/mprintf_8h_source.html
2020-03-26 16:49:18 +11:00

176 lines
20 KiB
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>wut: /home/ash/Code/wut2/include/curl/mprintf.h Source File</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">wut
&#160;<span id="projectnumber">1.0.0-beta9</span>
</div>
<div id="projectbrief">Wii U Toolchain</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&amp;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&amp;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>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_d74097cd299de96a8b672354d9824a8f.html">curl</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">mprintf.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="mprintf_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef __CURL_MPRINTF_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define __CURL_MPRINTF_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">/***************************************************************************</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * _ _ ____ _</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * Project ___| | | | _ \| |</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * / __| | | | |_) | |</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * | (__| |_| | _ &lt;| |___</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * \___|\___/|_| \_\_____|</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * Copyright (C) 1998 - 2006, Daniel Stenberg, &lt;daniel@haxx.se&gt;, et al.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * This software is licensed as described in the file COPYING, which</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * you should have received as part of this distribution. The terms</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * are also available at http://curl.haxx.se/docs/copyright.html.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * You may opt to use, copy, modify, merge, publish, distribute and/or sell</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * copies of the Software, and permit persons to whom the Software is</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * furnished to do so, under the terms of the COPYING file.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * This software is distributed on an &quot;AS IS&quot; basis, WITHOUT WARRANTY OF ANY</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * KIND, either express or implied.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> ***************************************************************************/</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;stdarg.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span> <span class="comment">/* needed for FILE */</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="curl_8h.html">curl.h</a>&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="mprintf_8h.html#a907054cde3b1aa4b356eddd53ee2d98b">curl_mprintf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="mprintf_8h.html#a8c0533fee933957a60624a9a2f6938b8">curl_mfprintf</a>(FILE *fd, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="mprintf_8h.html#a5f93da03000abe98e68eb7c782f4a693">curl_msprintf</a>(<span class="keywordtype">char</span> *buffer, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="mprintf_8h.html#afe579f1f7632e811b480c042b15b8da4">curl_msnprintf</a>(<span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> maxlength,</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="mprintf_8h.html#aab43523fde8a3cb4dde8f32c3ddce07c">curl_mvprintf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list args);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="mprintf_8h.html#acb10a4f3efeaf23f5c5f7b540b6393cb">curl_mvfprintf</a>(FILE *fd, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list args);</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="mprintf_8h.html#acc15c9317dc924e848f1437f1e68c312">curl_mvsprintf</a>(<span class="keywordtype">char</span> *buffer, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list args);</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="mprintf_8h.html#a2d33330e9b1f583941a7e61b3c64be4a">curl_mvsnprintf</a>(<span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> maxlength,</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list args);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">char</span> *<a class="code" href="mprintf_8h.html#a0d5de0d2e86ff46856dc5bc0ae371c2a">curl_maprintf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keywordtype">char</span> *<a class="code" href="mprintf_8h.html#a261c9a5d90b67ece71b5a1b358524d2e">curl_mvaprintf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list args);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#ifdef _MPRINTF_REPLACE</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor"># undef printf</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor"># undef fprintf</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor"># undef sprintf</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor"># undef vsprintf</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor"># undef snprintf</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor"># undef vprintf</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor"># undef vfprintf</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor"># undef vsnprintf</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor"># undef aprintf</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor"># undef vaprintf</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"># define printf curl_mprintf</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor"># define fprintf curl_mfprintf</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#ifdef CURLDEBUG</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="comment">/* When built with CURLDEBUG we define away the sprintf() functions since we</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment"> don&#39;t want internal code to be using them */</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor"># define sprintf sprintf_was_used</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor"># define vsprintf vsprintf_was_used</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor"># define sprintf curl_msprintf</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor"># define vsprintf curl_mvsprintf</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor"># define snprintf curl_msnprintf</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor"># define vprintf curl_mvprintf</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor"># define vfprintf curl_mvfprintf</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor"># define vsnprintf curl_mvsnprintf</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor"># define aprintf curl_maprintf</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor"># define vaprintf curl_mvaprintf</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;}</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __CURL_MPRINTF_H */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="amprintf_8h_html_acb10a4f3efeaf23f5c5f7b540b6393cb"><div class="ttname"><a href="mprintf_8h.html#acb10a4f3efeaf23f5c5f7b540b6393cb">curl_mvfprintf</a></div><div class="ttdeci">CURL_EXTERN int curl_mvfprintf(FILE *fd, const char *format, va_list args)</div></div>
<div class="ttc" id="amprintf_8h_html_a907054cde3b1aa4b356eddd53ee2d98b"><div class="ttname"><a href="mprintf_8h.html#a907054cde3b1aa4b356eddd53ee2d98b">curl_mprintf</a></div><div class="ttdeci">CURL_EXTERN int curl_mprintf(const char *format,...)</div></div>
<div class="ttc" id="amprintf_8h_html_acc15c9317dc924e848f1437f1e68c312"><div class="ttname"><a href="mprintf_8h.html#acc15c9317dc924e848f1437f1e68c312">curl_mvsprintf</a></div><div class="ttdeci">CURL_EXTERN int curl_mvsprintf(char *buffer, const char *format, va_list args)</div></div>
<div class="ttc" id="amprintf_8h_html_a5f93da03000abe98e68eb7c782f4a693"><div class="ttname"><a href="mprintf_8h.html#a5f93da03000abe98e68eb7c782f4a693">curl_msprintf</a></div><div class="ttdeci">CURL_EXTERN int curl_msprintf(char *buffer, const char *format,...)</div></div>
<div class="ttc" id="amprintf_8h_html_a2d33330e9b1f583941a7e61b3c64be4a"><div class="ttname"><a href="mprintf_8h.html#a2d33330e9b1f583941a7e61b3c64be4a">curl_mvsnprintf</a></div><div class="ttdeci">CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength, const char *format, va_list args)</div></div>
<div class="ttc" id="acurl_8h_html_a3adb15f21a822fbf7e879d3b78474490"><div class="ttname"><a href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a></div><div class="ttdeci">#define CURL_EXTERN</div><div class="ttdef"><b>Definition:</b> <a href="curl_8h_source.html#l00059">curl.h:59</a></div></div>
<div class="ttc" id="amprintf_8h_html_aab43523fde8a3cb4dde8f32c3ddce07c"><div class="ttname"><a href="mprintf_8h.html#aab43523fde8a3cb4dde8f32c3ddce07c">curl_mvprintf</a></div><div class="ttdeci">CURL_EXTERN int curl_mvprintf(const char *format, va_list args)</div></div>
<div class="ttc" id="amprintf_8h_html_a8c0533fee933957a60624a9a2f6938b8"><div class="ttname"><a href="mprintf_8h.html#a8c0533fee933957a60624a9a2f6938b8">curl_mfprintf</a></div><div class="ttdeci">CURL_EXTERN int curl_mfprintf(FILE *fd, const char *format,...)</div></div>
<div class="ttc" id="amprintf_8h_html_afe579f1f7632e811b480c042b15b8da4"><div class="ttname"><a href="mprintf_8h.html#afe579f1f7632e811b480c042b15b8da4">curl_msnprintf</a></div><div class="ttdeci">CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength, const char *format,...)</div></div>
<div class="ttc" id="amprintf_8h_html_a261c9a5d90b67ece71b5a1b358524d2e"><div class="ttname"><a href="mprintf_8h.html#a261c9a5d90b67ece71b5a1b358524d2e">curl_mvaprintf</a></div><div class="ttdeci">CURL_EXTERN char * curl_mvaprintf(const char *format, va_list args)</div></div>
<div class="ttc" id="acurl_8h_html"><div class="ttname"><a href="curl_8h.html">curl.h</a></div></div>
<div class="ttc" id="amprintf_8h_html_a0d5de0d2e86ff46856dc5bc0ae371c2a"><div class="ttname"><a href="mprintf_8h.html#a0d5de0d2e86ff46856dc5bc0ae371c2a">curl_maprintf</a></div><div class="ttdeci">CURL_EXTERN char * curl_maprintf(const char *format,...)</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>