mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-04-19 09:27:00 +02:00
* Name the private function __strto_{int,fp} (with leading double underscores) to avoid name conflicts * Fix comments of the wrong style * Fix missing leading double underscores in stdlib_p.h
11 lines
278 B
C
11 lines
278 B
C
#include "stdlib_p.h"
|
|
#include <errno.h>
|
|
|
|
unsigned long long int strtoull(char const * restrict ptr,
|
|
char ** restrict endptr, int base)
|
|
{
|
|
unsigned long long n = 0;
|
|
int err = __strto_int(ptr, endptr, base, NULL, (long long *)&n, true);
|
|
if(err != 0) errno = err;
|
|
return n;
|
|
}
|