DragonFly On-Line Manual Pages


WCSFTIME(3)	      DragonFly Library Functions Manual	   WCSFTIME(3)

NAME

wcsftime, wcsftime_l -- convert date and time to a wide-character string

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#include <wchar.h> size_t wcsftime(wchar_t * restrict wcs, size_t maxsize, const wchar_t * restrict format, const struct tm * restrict timeptr); #include <xlocale.h> size_t wcsftime_l(wchar_t * restrict wcs, size_t maxsize, const wchar_t * restrict format, const struct tm * restrict timeptr, locale_t locale);

DESCRIPTION

The wcsftime() and wcsftime_l() functions are equivalent to the strftime() and strftime_l() functions except for the types of their argu- ments. Refer to strftime(3) for a detailed description. The wcsftime_l() function takes an explicit locale argument, whereas the wcsftime() function uses the current global or per-thread locale.

COMPATIBILITY

Some early implementations of wcsftime() had a format argument with type const char * instead of const wchar_t *.

SEE ALSO

strftime(3), xlocale(3)

STANDARDS

The wcsftime() function conforms to ISO/IEC 9899:1999 (``ISO C99''). DragonFly 3.7 December 26, 2013 DragonFly 3.7