ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
WCSFTIME(3) BSD 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 <wchar.h> #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 loc); DESCRIPTION The wcsftime() function is equivalent to the strftime() function, except for the types of its arguments. Refer to strftime(3) for a detailed description. While the wcsftime() function uses the current locale, the wcsftime_l() function may be passed a locale directly. See xlocale(3) for more infor-mation. information. mation. 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''). BSD September 8, 2002 BSD |