M MACaveli7 macrumors newbie Original poster Oct 15, 2010 23 0 Oct 27, 2010 #1 I'm trying to find the mac equivalent of _strtoui64, it's a windows function that takes a string of numbers and converts its 64 bit equivalent, for example the string "18446744073709551615" will be converted to 18446744073709551615.
I'm trying to find the mac equivalent of _strtoui64, it's a windows function that takes a string of numbers and converts its 64 bit equivalent, for example the string "18446744073709551615" will be converted to 18446744073709551615.
M MACaveli7 macrumors newbie Original poster Oct 15, 2010 23 0 Oct 27, 2010 #2 ah, the mac version seems to be strtoull.
I ianray macrumors 6502 Jun 22, 2010 452 0 @ Oct 27, 2010 #3 MACaveli7 said: ah, the mac version seems to be strtoull. Click to expand... Sorry to nit-pick, but strtoull is an ISO standard: http://www.opengroup.org/onlinepubs/000095399/functions/strtoul.html. (_strtoui64 seems to be Microsoft's own invention.)
MACaveli7 said: ah, the mac version seems to be strtoull. Click to expand... Sorry to nit-pick, but strtoull is an ISO standard: http://www.opengroup.org/onlinepubs/000095399/functions/strtoul.html. (_strtoui64 seems to be Microsoft's own invention.)