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

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

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

SYNOPSIS

15       #include <wchar.h>
16
17       size_t wcsftime(wchar_t *restrict wcs, size_t maxsize,
18              const  wchar_t  *restrict  format,  const  struct  tm  *restrict
19       timeptr);
20
21

DESCRIPTION

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

RETURN VALUE

43       If the total number of resulting  wide-character  codes  including  the
44       terminating  null  wide-character  code  is no more than maxsize, wcsf‐
45       time() shall return the number of wide-character codes placed into  the
46       array  pointed to by wcs, not including the terminating null wide-char‐
47       acter code. Otherwise, zero is returned and the contents of  the  array
48       are unspecified.
49

ERRORS

51       No errors are defined.
52
53       The following sections are informative.
54

EXAMPLES

56       None.
57

APPLICATION USAGE

59       None.
60

RATIONALE

62       None.
63

FUTURE DIRECTIONS

65       None.
66

SEE ALSO

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