wcsftime(3C)
wcsftime --
convert date and time to wide character string
Synopsis
#include <wchar.h>
int wcsftime(wchar_t wcs,
size_t size,
const wchar_t format, const struct tm timeptr);
Description
wcsftime puts wide character codes into the array pointed to
by wcs as controlled by the string pointed to by format.
It behavior is similar to strftime,
except that the format and the result
are wide character strings.
Not more than size wide characters are placed into the array
pointed to by wcs.
See
strftime(3C)
for a complete description of the
conversion specifications.
The behavior is undefined if copying takes place between objects
that overlap.
Return values
If the size of the resultant wide character codes inclusive of the
terminating null wide character code is within the size limit,
wcsftime returns the number of wide character codes in the array pointed to by
wcs, exclusive of the terminating null wide character code.
Otherwise, it returns zero and the contents of the array are indeterminate.
Notices
If the feature test macro _XOPEN_SOURCE is defined,
then the following synopsis may be defined:
int wcsftime(wchar_t wcs, size_t size, const char format,
const struct tm timeptr);
References
strftime(3C),
wchar(5)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004