Index: libc/time/wcsftime.c =================================================================== RCS file: /cvs/src/src/newlib/libc/time/wcsftime.c,v retrieving revision 1.1 diff -p -u -r1.1 wcsftime.c --- libc/time/wcsftime.c 9 Mar 2009 12:35:03 -0000 1.1 +++ libc/time/wcsftime.c 12 Mar 2009 14:57:21 -0000 @@ -20,17 +20,21 @@ ANSI_SYNOPSIS const wchar_t *<[format]>, const struct tm *<[timp]>); DESCRIPTION -<> is equivalent to <>, except that: +<> is equivalent to <>, except that: -The argument s points to the initial element of an array of wide characters +O+ +o The argument s points to the initial element of an array of wide characters into which the generated output is to be placed. -The argument maxsize indicates the limiting number of wide characters. +o The argument maxsize indicates the limiting number of wide characters. -The argument format is a wide-character string and the conversion specifiers +o The argument format is a wide-character string and the conversion specifiers are replaced by corresponding sequences of wide characters. -The return value indicates the number of wide characters. +o The return value indicates the number of wide characters. +O- +(The difference in all of the above being wide characters versus regular +characters.) See <> for the details of the format specifiers. @@ -52,10 +56,10 @@ value beforehand to distinguish between This implementation does not support <> being NULL, nor overlapping <> and <>. +<> requires no supporting OS subroutines. + SEEALSO <> - -<> requires no supporting OS subroutines. */ #include Index: libc/string/wcstrings.tex =================================================================== RCS file: /cvs/src/src/newlib/libc/string/wcstrings.tex,v retrieving revision 1.8 diff -p -u -r1.8 wcstrings.tex --- libc/string/wcstrings.tex 12 Dec 2008 19:47:05 -0000 1.8 +++ libc/string/wcstrings.tex 12 Mar 2009 14:57:21 -0000 @@ -18,6 +18,7 @@ declarations are in @file{wchar.h}. * wcscpy:: Copy wide-character string * wcpcpy:: Copy a wide-character string returning a pointer to its end * wcscspn:: Count wide characters not in string +* wcsftime:: Convert date and time to a formatted wide-character string * wcslcat:: Concatenate wide-character strings to specified length * wcslcpy:: Copy wide-character string to specified length * wcslen:: Wide-character string length @@ -73,6 +74,9 @@ declarations are in @file{wchar.h}. @include string/wcscspn.def @page +@include time/wcsftime.def + +@page @include string/wcslcat.def @page