![]() |
![]() |
![]() |
Format the time into a 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 equivalent to strftime() except that characters refers to wide characters. See strftime() for a complete list of conversion specifiers.
When an error has occurred, errno indicates the type of error detected.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
"String manipulation functions," "Time functions," and "Wide-character functions" in the summary of functions chapter.
![]() |
![]() |
![]() |