1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>oscl_snprintf.h Source File</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.2.18 --> 7<center> 8<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9<hr><h1>oscl_snprintf.h</h1><a href="oscl__snprintf_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span> 1000002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 1100003 1200004 <span class="comment">// O S C L_ S N P R I N T F</span> 1300005 1400006 <span class="comment">// This is a portable implementation of snprintf() for use on all</span> 1500007 <span class="comment">// platforms supported by oscl.</span> 1600008 1700009 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 1800010 1900024 <span class="preprocessor">#ifndef OSCL_SNPRINTF_H_INCLUDED</span> 2000025 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_SNPRINTF_H_INCLUDED</span> 2100026 <span class="preprocessor"></span> 2200027 <span class="comment">// - - Inclusion - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span> 2300028 2400029 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span> 2500030 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> 2600031 <span class="preprocessor">#endif</span> 2700032 <span class="preprocessor"></span> 2800033 <span class="preprocessor">#ifndef OSCLCONFIG_UTIL_H_INCLUDED</span> 2900034 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="osclconfig__util_8h.html">osclconfig_util.h</a>"</span> 3000035 <span class="preprocessor">#endif</span> 3100036 <span class="preprocessor"></span> 3200037 OSCL_IMPORT_REF int32 <a class="code" href="group__osclutil.html#a35">oscl_snprintf</a>(<span class="keywordtype">char</span> *str, uint32 count, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, <span class="comment">/*args*/</span> ...); 3300038 OSCL_IMPORT_REF int32 <a class="code" href="group__osclutil.html#a35">oscl_snprintf</a>(<a class="code" href="group__osclbase.html#a32">oscl_wchar</a> *str, uint32 count, <span class="keyword">const</span> <a class="code" href="group__osclbase.html#a32">oscl_wchar</a> *fmt, <span class="comment">/*args*/</span> ...); 3400039 OSCL_IMPORT_REF int32 <a class="code" href="group__osclutil.html#a37">oscl_vsnprintf</a>(<span class="keywordtype">char</span> *str, uint32 count, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, va_list args); 3500040 OSCL_IMPORT_REF int32 <a class="code" href="group__osclutil.html#a37">oscl_vsnprintf</a>(<a class="code" href="group__osclbase.html#a32">oscl_wchar</a> *str, uint32 count, <span class="keyword">const</span> <a class="code" href="group__osclbase.html#a32">oscl_wchar</a> *fmt, va_list args); 3600041 <span class="preprocessor">#endif</span> 3700042 <span class="preprocessor"></span> 38</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 39<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 40</small></address> 41</body> 42</html> 43