Permission is granted to use, modify, and / or redistribute at will.
*/
+#define _PDCLIB_INT_H _PDCLIB_INT_H
#include <_PDCLIB_int.h>
#include <ctype.h>
#include <errno.h>
else
{
errno = ERANGE;
- /* TODO: Only if endptr != NULL */
+ /* TODO: Only if endptr != NULL - but do we really want *another* parameter? */
while ( memchr( _PDCLIB_digits, **p, base ) != NULL ) ++(*p);
/* TODO: This is ugly, but keeps caller from negating the error value */
*sign = '+';