MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_lltoa

Function SDL_lltoa

deps/SDL2/src/stdlib/SDL_string.c:798–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796}
797
798char *
799SDL_lltoa(Sint64 value, char *string, int radix)
800{
801#if defined(HAVE__I64TOA)
802 return _i64toa(value, string, radix);
803#else
804 char *bufp = string;
805
806 if (value < 0) {
807 *bufp++ = '-';
808 SDL_ulltoa(-value, bufp, radix);
809 } else {
810 SDL_ulltoa(value, bufp, radix);
811 }
812
813 return string;
814#endif /* HAVE__I64TOA */
815}
816
817char *
818SDL_ulltoa(Uint64 value, char *string, int radix)

Callers 1

SDL_PrintLongLongFunction · 0.85

Calls 1

SDL_ulltoaFunction · 0.85

Tested by

no test coverage detected