⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wcsftime.html

📁 unix 下的C开发手册,还用详细的例程。
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>wcsftime</title></head><body bgcolor=white><center><font size=2>The Single UNIX &reg; Specification, Version 2<br>Copyright &copy; 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_010_527">&nbsp;</a>NAME</h4><blockquote>wcsftime - convert date and time to a wide-character string</blockquote><h4><a name = "tag_000_010_528">&nbsp;</a>SYNOPSIS</h4><blockquote><pre><code>#include &lt;<a href="wchar.h.html">wchar.h</a>&gt;size_t wcsftime(wchar_t *<i>wcs</i>, size_t <i>maxsize</i>, const wchar_t *<i>format</i>,     const struct tm *<i>timptr</i>);</code></pre></blockquote><h4><a name = "tag_000_010_529">&nbsp;</a>DESCRIPTION</h4><blockquote>The<i>wcsftime()</i>function is equivalent to the<i><a href="strftime.html">strftime()</a></i>function, except that:<ul><p><li>The argument<i>wcs</i>points to the initial element of an array of wide-characters intowhich the generated output is to be placed.<p><li>The argument<i>maxsize</i>indicates the maximum number of wide-characters to be placed in theoutput array.<p><li>The argument<i>format</i>is a wide-character string and the conversion specifications are replaced by corresponding sequences of wide-characters.<p><li>The return value indicates the number of wide-characters placed in theoutput array.<p></ul><p>If copying takes place between objects that overlap,the behaviour is undefined.</blockquote><h4><a name = "tag_000_010_530">&nbsp;</a>RETURN VALUE</h4><blockquote>If the total number of resulting wide-charactercodes including the terminating null wide-character code is no more than<i>maxsize</i>,<i>wcsftime()</i>returns the number of wide-character codesplaced into the array pointed to by<i>wcs</i>,not including the terminating null wide-character code.Otherwise 0 is returned and the contents of the array are indeterminate.If the function is not implemented,<i>errno</i>will be set to indicate the error.</blockquote><h4><a name = "tag_000_010_531">&nbsp;</a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_000_010_532">&nbsp;</a>EXAMPLES</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_533">&nbsp;</a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_534">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_535">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="strftime.html">strftime()</a></i>,<i><a href="wchar.h.html">&lt;wchar.h&gt;</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX &reg; is a registered Trademark of The Open Group.<br>Copyright &copy; 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -