]> pd.if.org Git - pdclib/blobdiff - functions/inttypes.c
Added template implementation files.
[pdclib] / functions / inttypes.c
diff --git a/functions/inttypes.c b/functions/inttypes.c
new file mode 100644 (file)
index 0000000..d815cca
--- /dev/null
@@ -0,0 +1,23 @@
+// ----------------------------------------------------------------------------
+// $Id$
+// ----------------------------------------------------------------------------
+// Public Domain C Library - http://pdclib.sourceforge.net
+// This code is Public Domain. Use, modify, and redistribute at will.
+// ----------------------------------------------------------------------------
+
+// ----------------------------------------------------------------------------
+// C++
+
+intmax_t abs( intmax_t i ) { /* TODO */ };
+imaxdiv_t div( intmax_t numer, intmax_t denom ) { /* TODO */ };
+
+// ----------------------------------------------------------------------------
+// Standard C
+
+intmax_t imaxabs( intmax_t i ) { /* TODO */ };
+imaxdiv_t imaxdiv( intmax_t numer, intmax_t denom ) { /* TODO */ };
+
+intmax_t strtoimax( const char * restrict s, char * * restrict endptr, int base ) { /* TODO */ };
+uintmax_t strtoumax( const char * restrict s, char * * restrict endptr, int base ) { /* TODO */ };
+intmax_t wcstoimax( const wchar_t * restrict s, wchar_t * * restrict endptr, int base ) { /* TODO */ };
+uintmax_t wcstoumax( const wchar_t * restrict s, wchar_t * * restrict endptr, int base ) { /* TODO */ };