From kido@vnet.IBM.COM Mon Mar 15 03:07:44 1993 Received: from vnet.IBM.COM ([192.239.48.4]) by dkuug.dk with SMTP id AA00361 (5.65c8/IDA-1.4.4j for ); Mon, 15 Mar 1993 03:07:44 +0100 Message-Id: <199303150207.AA00361@dkuug.dk> Received: from YMTVM8 by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 4036; Sun, 14 Mar 93 21:07:00 EST Date: Mon, 15 Mar 93 11:07:28 JST From: "Akio Kido" To: sc22wg15@dkuug.dk, sc22wg20@dkuug.dk, XoJIG@xopen.co.uk, sig-international@osf.org, uojlg-bse@uiap.ui.org, efischer@donald.aix.kingston.ibm.com Subject: MSE 4.5.5.mm X-Charset: ASCII X-Char-Esc: 29 .SK .H 3 "Date and time .H 4 "Wide string time conversion utilities" .H 5 "The \*(Cwwcsftime\fP function" .HU Synopsis .Cb #include size_t wcsftime(wchar_t *s, size_t maxsize, const wchar_t *format, const struct tm *timeptr); .Ce .HU Description .P The .Cf wcsftime function is equivalent to the .Cf strftime function, except that: .DL .LI The argument .Cf s points to the initial element of an array of wide characters into which the generated output is to be placed. .LI The argument .Cf maxsize indicates the limiting number of wide characters. .LI The argument .Cf format is a wide string and the conversion specifiers are replaced by corresponding sequences of wide characters. .LI The return value indicates a number of wide characters. .LE .HU Returns .P If the total number of resulting wide characters including the terminating null wide character is not more than .Cf maxsize , the .Cf wcsftime function returns the number of wide characters placed into the array pointed to by .Cf s not including the terminating null wide character. Otherwise, zero is returned and the contents of the array are indeterminate.