xref: /freebsd/lib/libc/locale/wcsftime.3 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
147794211STim J. Robbins.\" Copyright (c) 2002 Tim J. Robbins
247794211STim J. Robbins.\" All rights reserved.
347794211STim J. Robbins.\"
447794211STim J. Robbins.\" Redistribution and use in source and binary forms, with or without
547794211STim J. Robbins.\" modification, are permitted provided that the following conditions
647794211STim J. Robbins.\" are met:
747794211STim J. Robbins.\" 1. Redistributions of source code must retain the above copyright
847794211STim J. Robbins.\"    notice, this list of conditions and the following disclaimer.
947794211STim J. Robbins.\" 2. Redistributions in binary form must reproduce the above copyright
1047794211STim J. Robbins.\"    notice, this list of conditions and the following disclaimer in the
1147794211STim J. Robbins.\"    documentation and/or other materials provided with the distribution.
1247794211STim J. Robbins.\"
1347794211STim J. Robbins.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1447794211STim J. Robbins.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1547794211STim J. Robbins.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1647794211STim J. Robbins.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1747794211STim J. Robbins.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1847794211STim J. Robbins.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1947794211STim J. Robbins.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2047794211STim J. Robbins.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2147794211STim J. Robbins.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2247794211STim J. Robbins.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2347794211STim J. Robbins.\" SUCH DAMAGE.
2447794211STim J. Robbins.\"
2547794211STim J. Robbins.Dd September 8, 2002
2647794211STim J. Robbins.Dt WCSFTIME 3
2747794211STim J. Robbins.Os
2847794211STim J. Robbins.Sh NAME
2947794211STim J. Robbins.Nm wcsftime
3047794211STim J. Robbins.Nd "convert date and time to a wide-character string"
3147794211STim J. Robbins.Sh LIBRARY
3247794211STim J. Robbins.Lb libc
3347794211STim J. Robbins.Sh SYNOPSIS
3447794211STim J. Robbins.In wchar.h
3547794211STim J. Robbins.Ft size_t
36279062faSRuslan Ermilov.Fo wcsftime
37279062faSRuslan Ermilov.Fa "wchar_t * restrict wcs" "size_t maxsize"
38279062faSRuslan Ermilov.Fa "const wchar_t * restrict format" "const struct tm * restrict timeptr"
39279062faSRuslan Ermilov.Fc
4047794211STim J. Robbins.Sh DESCRIPTION
4147794211STim J. RobbinsThe
4247794211STim J. Robbins.Fn wcsftime
4347794211STim J. Robbinsfunction is equivalent to the
4447794211STim J. Robbins.Fn strftime
4547794211STim J. Robbinsfunction except for the types of its arguments.
4647794211STim J. RobbinsRefer to
4747794211STim J. Robbins.Xr strftime 3
4847794211STim J. Robbinsfor a detailed description.
4947794211STim J. Robbins.Sh COMPATIBILITY
5047794211STim J. RobbinsSome early implementations of
5147794211STim J. Robbins.Fn wcsftime
52279062faSRuslan Ermilovhad a
53279062faSRuslan Ermilov.Fa format
54279062faSRuslan Ermilovargument with type
5547794211STim J. Robbins.Vt "const char *"
5647794211STim J. Robbinsinstead of
5747794211STim J. Robbins.Vt "const wchar_t *" .
5847794211STim J. Robbins.Sh SEE ALSO
5947794211STim J. Robbins.Xr strftime 3
6047794211STim J. Robbins.Sh STANDARDS
6147794211STim J. RobbinsThe
6247794211STim J. Robbins.Fn wcsftime
6347794211STim J. Robbinsfunction conforms to
6447794211STim J. Robbins.St -isoC-99 .
65