WCSFTIME(3) BSD Library Functions Manual WCSFTIME(3)
NAME
wcsftime, wcsftimel -- convert date and time to a wide-character string
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
##include <>
sizet
wcsftime(wchart * restrict wcs, sizet maxsize,
const wchart * restrict format, const struct tm * restrict timeptr);
##include <>
sizet
wcsftimel(wchart * restrict wcs, sizet maxsize,
const wchart * restrict format, const struct tm * restrict timeptr,
localet 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 wcsftimel()
function may be passed a locale directly. See xlocale(3) for more infor-
mation.
COMPATIBILITY
Some early implementations of wcsftime() had a format argument with type
const char * instead of const wchart *.
SEE ALSO
strftime(3), xlocale(3)
STANDARDS
The wcsftime() function conforms to ISO/IEC 9899:1999 (``ISO C99'').
BSD September 8, 2002 BSD
|