summaryrefslogtreecommitdiff
path: root/lib/strtoofft.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-08-11 20:42:02 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-08-11 20:42:02 +0000
commit6d14a8060887d2a54c0cee26b0c444a58ac1387c (patch)
treee302436f13d6c17b03b2e3e9f91da231bbe56f14 /lib/strtoofft.c
parentf451bb7c4942c7b0f158d1e802786019534b9fa2 (diff)
downloadcurl-6d14a8060887d2a54c0cee26b0c444a58ac1387c.tar.gz
Added comment about strtoimax()
Diffstat (limited to 'lib/strtoofft.c')
-rw-r--r--lib/strtoofft.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/strtoofft.c b/lib/strtoofft.c
index 391f80d24..a0aab9037 100644
--- a/lib/strtoofft.c
+++ b/lib/strtoofft.c
@@ -24,6 +24,14 @@
#include "setup.h"
#include "strtoofft.h"
+/*
+ * NOTE:
+ *
+ * In the ISO C standard (IEEE Std 1003.1), there is a strtoimax() function we
+ * could use in case strtoll() doesn't exist... See
+ * http://www.opengroup.org/onlinepubs/009695399/functions/strtoimax.html
+ */
+
#ifdef NEED_CURL_STRTOLL
#include <stdlib.h>
#include <ctype.h>