![]() |
![]() |
![]() |
![]() |
Format the time into a wide-character string
#include <wchar.h> size_t wcsftime( wchar_t * wcs, size_t maxsize, const wchar_t * format, const struct tm * timeptr );
libc
The wcsftime() function is similar to strftime(), except that wcsftime() works with wide characters.
The number of wide characters placed into the array, not including the terminating null character, or 0 if the number of wide characters exceeds maxsize; the string contents are indeterminate.
If an error occurs, errno is set.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
asctime(), asctime_r(), ctime(), ctime_r(), sprintf(), strftime(), tm, tzset()
![]() |
![]() |
![]() |
![]() |