From 7b7b9007db2804eed6eb96e12bb095ddbb742c39 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 7 Sep 1998 02:17:55 +0000 Subject: . --- lib/posixtm.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/posixtm.h (limited to 'lib/posixtm.h') diff --git a/lib/posixtm.h b/lib/posixtm.h new file mode 100644 index 000000000..f2bca7943 --- /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); -- cgit v1.2.3-54-g00ecf