Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wcsftime(3C) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

strftime(3C)

wchar(5)






       wcsftime(3C)                                            wcsftime(3C)


       NAME
             wcsftime - convert date and time to wide character string

       SYNOPSIS
             #include <wchar.h>
             int wcsftime(wchar_t *wcs, size_t size, const wchar_t *format,
             const struct tm *timeptr);

       DESCRIPTION
             wcsftime puts wide character codes into the array pointed to
             by wcs as controlled by the string pointed to by format.  It
             behavior is similar to strftime, except that the format and
             the result are wide character strings.  Not more than size
             wide characters are placed into the array pointed to by wcs.
             See strftime(3C) for a complete description of the conversion
             specifications.

             The behavior is undefined if copying takes place between
             objects that overlap.

          Return Values
             If the size of the resultant wide character codes inclusive of
             the terminating null wide character code is within the size
             limit, wcsftime returns the number of wide character codes in
             the array pointed to by wcs, exclusive of the terminating null
             wide character code.  Otherwise, it returns zero and the
             contents of the array are indeterminate.

       NOTICES
             If the feature test macro _XOPEN_SOURCE is defined, then the
             following synopsis may be defined:
             int wcsftime(wchar_t *wcs, size_t size, const char *format,
             const struct tm *timeptr);

       REFERENCES
             strftime(3C), wchar(5)












                           Copyright 1994 Novell, Inc.               Page 1








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026