aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index 1d3be1ee..8bb4b1da 100644
--- a/src/library.js
+++ b/src/library.js
@@ -4562,7 +4562,26 @@ LibraryManager.library = {
return -1;
},
- // TODO: Implement strftime(), strptime() and getdate().
+ strftime: function(s, maxsize, format, timeptr) {
+ // size_t strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct tm *restrict timeptr);
+ // http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html
+ // TODO: Implement.
+ return 0;
+ },
+
+ strptime: function(buf, format, tm) {
+ // char *strptime(const char *restrict buf, const char *restrict format, struct tm *restrict tm);
+ // http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html
+ // TODO: Implement.
+ return 0;
+ },
+
+ getdate: function(string) {
+ // struct tm *getdate(const char *string);
+ // http://pubs.opengroup.org/onlinepubs/009695399/functions/getdate.html
+ // TODO: Implement.
+ return 0;
+ },
// ==========================================================================
// sys/time.h