summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stringto/stringtounsignedlonglong.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/stringto/stringtounsignedlonglong.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/cpukit/libmisc/stringto/stringtounsignedlonglong.c b/cpukit/libmisc/stringto/stringtounsignedlonglong.c
new file mode 100644
index 0000000000..6f79c3d874
--- /dev/null
+++ b/cpukit/libmisc/stringto/stringtounsignedlonglong.c
@@ -0,0 +1,20 @@
+/*
+ * COPYRIGHT (c) 2009.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+/*
+ * Instantiate an error checking wrapper for strtoull (unsigned long long)
+ */
+#define STRING_TO_INTEGER
+#define STRING_TO_TYPE unsigned long long
+#define STRING_TO_NAME rtems_string_to_unsigned_long_long
+#define STRING_TO_METHOD strtoull
+#define STRING_TO_MAX ULONG_LONG_MAX
+#include "stringto_template.h"