Operating System - HP-UX
1826775 Members
1487 Online
109702 Solutions
New Discussion

Converting string to 64-bit int

 
SOLVED
Go to solution
Clay Porter
Occasional Contributor

Converting string to 64-bit int

How do I convert a string to long long?

Is there an equivalent of atoll() on HP-UX 11?

Thanks.
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Converting string to 64-bit int

Hi Clay:

You have to 'roll your own' but it's rather easy. Set the attached atoll.c.

Regards, Clay
If it ain't broke, I can fix that.
H.Merijn Brand (procura
Honored Contributor

Re: Converting string to 64-bit int

Attached is my long long version of strtoll ()
Enjoy, Have FUN! H.Merijn