diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-03-12 18:34:57 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-03-12 18:34:57 +0300 |
commit | d75c0f75bc055d1644243969dc02ac1b1c7a0615 (patch) | |
tree | 98d75e91b46b6ecd1dbd180829cb215fd6e65721 /newlib/libc/time | |
parent | 14a164a726b944cb6f2963721b01d5a593dd7398 (diff) |
* libc/time/time.tex (wcsftime.def): Include.
* libc/time/wcsftime.c: Clean up documentation a little.
Diffstat (limited to 'newlib/libc/time')
-rw-r--r-- | newlib/libc/time/wcsftime.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/newlib/libc/time/wcsftime.c b/newlib/libc/time/wcsftime.c index 323a6c2eb..ac71a0941 100644 --- a/newlib/libc/time/wcsftime.c +++ b/newlib/libc/time/wcsftime.c @@ -20,17 +20,21 @@ ANSI_SYNOPSIS const wchar_t *<[format]>, const struct tm *<[timp]>); DESCRIPTION -<<strftime>> is equivalent to <<strftime>>, except that: +<<wcsftime>> is equivalent to <<strftime>>, 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 <<strftime>> for the details of the format specifiers. @@ -52,10 +56,10 @@ value beforehand to distinguish between failure and an empty string. This implementation does not support <<s>> being NULL, nor overlapping <<s>> and <<format>>. +<<wcsftime>> requires no supporting OS subroutines. + SEEALSO <<strftime>> - -<<wcsftime>> requires no supporting OS subroutines. */ #include <time.h> |