X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fstdlib.h;h=b035c9cfbbacdc0b692eb533fd7cdbc7e7cd844e;hp=06eb9ce628335167c48184ee89fabda72df9d140;hb=0fa6394bc70eab55e0e38703a31a3072232c0729;hpb=f8dfae46eb161173a4460a98075669e810c8bb7b diff --git a/includes/stdlib.h b/includes/stdlib.h index 06eb9ce..b035c9c 100644 --- a/includes/stdlib.h +++ b/includes/stdlib.h @@ -1,6 +1,6 @@ /* $Id$ */ -/* General utilities +/* 7.20 General utilities This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -52,6 +52,9 @@ long double strtold( const char * _PDCLIB_restrict nptr, char * * _PDCLIB_restri LLONG_MIN, LLONG_MAX, or ULLONG_MAX respectively, depending on the sign of the integer representation and the return type, and errno is set to ERANGE. */ +/* There is strtoimax() and strtoumax() in operating on intmax_t / + uintmax_t, if the long long versions do not suit your needs. +*/ long int strtol( const char * _PDCLIB_restrict nptr, char * * _PDCLIB_restrict endptr, int base ); long long int strtoll( const char * _PDCLIB_restrict nptr, char * * _PDCLIB_restrict endptr, int base ); unsigned long int strtoul( const char * _PDCLIB_restrict nptr, char * * _PDCLIB_restrict endptr, int base );