📄 wcsftime.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 ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_010_527"> </a>NAME</h4><blockquote>wcsftime - convert date and time to a wide-character string</blockquote><h4><a name = "tag_000_010_528"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="wchar.h.html">wchar.h</a>>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"> </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"> </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"> </a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_000_010_532"> </a>EXAMPLES</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_533"> </a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_534"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_535"> </a>SEE ALSO</h4><blockquote><i><a href="strftime.html">strftime()</a></i>,<i><a href="wchar.h.html"><wchar.h></a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 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 + -