projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b825189
)
.
author
Jim Meyering
<jim@meyering.net>
Mon, 7 Sep 1998 02:17:55 +0000
(
02:17
+0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 7 Sep 1998 02:17:55 +0000
(
02:17
+0000)
lib/posixtm.h
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/posixtm.h
b/lib/posixtm.h
new file mode 100644
(file)
index 0000000..
f2bca79
--- /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);