Import upstream version 1.28
[debian/tar] / gnu / strftime.h
1 /* -*- buffer-read-only: t -*- vi: set ro: */
2 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3 /* declarations for strftime.c
4
5    Copyright (C) 2002, 2004, 2008-2014 Free Software Foundation, Inc.
6
7    This program is free software: you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 3 of the License, or
10    (at your option) any later version.
11
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19
20 #include <time.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /* Just like strftime, but with two more arguments:
27    POSIX requires that strftime use the local timezone information.
28    When __UTC is nonzero and tm->tm_zone is NULL or the empty string,
29    use UTC instead.  Use __NS as the number of nanoseconds in the
30    %N directive.  */
31 size_t nstrftime (char *, size_t, char const *, struct tm const *,
32                   int __utc, int __ns);
33
34 #ifdef __cplusplus
35 }
36 #endif