changeset 1487:736028973190

.
author Jim Meyering <jim@meyering.net>
date Mon, 07 Sep 1998 02:17:55 +0000
parents 67065e70a10e
children d7a1f4a17742
files lib/posixtm.h
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/lib/posixtm.h
@@ -0,0 +1,11 @@
+/* POSIX Date Syntax flags.  */
+#define PDS_LEADING_YEAR 1
+#define PDS_TRAILING_YEAR 2
+#define PDS_CENTURY 4
+#define PDS_SECONDS 8
+
+time_t
+posixtime (const char *s, unsigned int syntax_bits);
+
+struct tm *
+posixtm (const char *s, unsigned int syntax_bits);