The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

wcsftime - convert date and time to a wide-character string

 SYNOPSIS



#include <wchar.h>

size_t wcsftime(wchar_t *wcs, size_t maxsize, const wchar_t *format,
     const struct tm *timptr);

 DESCRIPTION

The wcsftime() function is equivalent to the strftime() function, except that:

If copying takes place between objects that overlap, the behaviour is undefined.

 RETURN VALUE

If the total number of resulting wide-character codes including the terminating null wide-character code is no more than maxsize, wcsftime() returns the number of wide-character codes placed into the array pointed to by wcs, not including the terminating null wide-character code. Otherwise 0 is returned and the contents of the array are indeterminate. If the function is not implemented, errno will be set to indicate the error.

 ERRORS

No errors are defined.

 EXAMPLES

None.

 APPLICATION USAGE

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

strftime(), <wchar.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]