diff options
author | Jim Meyering <jim@meyering.net> | 1998-09-07 02:17:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-09-07 02:17:55 +0000 |
commit | 7b7b9007db2804eed6eb96e12bb095ddbb742c39 (patch) | |
tree | d9606da64010f44f72c29847fc1d04df6a7f8a08 | |
parent | c0ad97a7817a05f23a303a5545ff49a7f62cafbd (diff) | |
download | coreutils-7b7b9007db2804eed6eb96e12bb095ddbb742c39.tar.gz coreutils-7b7b9007db2804eed6eb96e12bb095ddbb742c39.tar.bz2 coreutils-7b7b9007db2804eed6eb96e12bb095ddbb742c39.zip |
.
-rw-r--r-- | lib/posixtm.h | 11 |
1 files changed, 11 insertions, 0 deletions
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); |