X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstrftime.h;h=3410568a9a45ab6349fcbe93029a8d4380ed42ff;hb=b41ff9f532d1755fd1267e6ea4f9d744dc95ec67;hp=dc9613a8a1cd68cec1984fa6c1555ccbacd5a618;hpb=ae8bdaa0cca3a49e5cba2b6db567f5990022188d;p=gnulib.git
diff --git a/lib/strftime.h b/lib/strftime.h
index dc9613a8a..3410568a9 100644
--- a/lib/strftime.h
+++ b/lib/strftime.h
@@ -1,11 +1,11 @@
/* declarations for strftime.c
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2008-2011 Free Software Foundation, Inc.
- This program is free software; you can redistribute it and/or modify
+ This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -13,7 +13,22 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ along with this program. If not, see . */
-size_t nstrftime (char *, size_t, char const *, struct tm const *, int, int);
+#include
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Just like strftime, but with two more arguments:
+ POSIX requires that strftime use the local timezone information.
+ When __UTC is nonzero and tm->tm_zone is NULL or the empty string,
+ use UTC instead. Use __NS as the number of nanoseconds in the
+ %N directive. */
+size_t nstrftime (char *, size_t, char const *, struct tm const *,
+ int __utc, int __ns);
+
+#ifdef __cplusplus
+}
+#endif