1WCSFTIME(P)                POSIX Programmer's Manual               WCSFTIME(P)
2
3
4

NAME

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

SYNOPSIS

9       #include <wchar.h>
10
11       size_t wcsftime(wchar_t *restrict wcs, size_t maxsize,
12               const  wchar_t  *restrict  format,  const  struct  tm *restrict
13       timeptr);
14
15

DESCRIPTION

17       The wcsftime() function shall be equivalent to the strftime() function,
18       except that:
19
20        * The  argument  wcs points to the initial element of an array of wide
21          characters into which the generated output is to be placed.
22
23        * The argument maxsize indicates the maximum number of wide characters
24          to be placed in the output array.
25
26        * The  argument  format  is a wide-character string and the conversion
27          specifications are replaced by corresponding sequences of wide char‐
28          acters.
29
30        * The  return  value indicates the number of wide characters placed in
31          the output array.
32
33       If copying takes place between objects that overlap,  the  behavior  is
34       undefined.
35

RETURN VALUE

37       If  the  total  number  of resulting wide-character codes including the
38       terminating null wide-character code is no  more  than  maxsize,  wcsf‐
39       time()  shall return the number of wide-character codes placed into the
40       array pointed to by wcs, not including the terminating null  wide-char‐
41       acter  code.  Otherwise, zero is returned and the contents of the array
42       are unspecified.
43

ERRORS

45       No errors are defined.
46
47       The following sections are informative.
48

EXAMPLES

50       None.
51

APPLICATION USAGE

53       None.
54

RATIONALE

56       None.
57

FUTURE DIRECTIONS

59       None.
60

SEE ALSO

62       strftime() ,  the  Base  Definitions  volume  of  IEEE Std 1003.1-2001,
63       <wchar.h>
64
66       Portions  of  this text are reprinted and reproduced in electronic form
67       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
68       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
69       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
70       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
71       event of any discrepancy between this version and the original IEEE and
72       The  Open Group Standard, the original IEEE and The Open Group Standard
73       is the referee document. The original Standard can be  obtained  online
74       at http://www.opengroup.org/unix/online.html .
75
76
77
78IEEE/The Open Group                  2003                          WCSFTIME(P)
Impressum