Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsftime.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsftime.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsftime.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsftime.html on line 8
Format the time into a wide-character string
#include <wchar.h>
size_t wcsftime( wchar_t * wcs,
size_t maxsize,
const wchar_t * format,
const struct tm * timeptr );
- wcs
- A pointer to a buffer where the function can store the formatted time.
- maxsize
- The maximum size of the buffer.
- format
- The format that you want to use for the time; see
“Formats,”
in the description of strftime().
- timeptr
- A pointer to a
tm
structure that contains the time that you want to format.
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The wcsftime() function is similar to
strftime(),
except that wcsftime() works with wide characters.
The number of wide characters placed into the array, not including the
terminating null character, or 0 if the number of wide characters exceeds
maxsize (in this case, the string contents are indeterminate).
If an error occurs,
errno
is set.
ANSI,
POSIX 1003.1
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
asctime(),
asctime_r(),
ctime(),
ctime_r(),
sprintf(),
strftime(),
tm,
tzset()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsftime.html on line 141
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsftime.html on line 141