I am looking for an native function from the C libraries or code example to implement it: I have a string that contains byte values that I want to convert it to int value. how do I this? I tried using atoi() and atol() but it get only 0 from 0xbff18c08. Thanks.
I am looking for an native function from the C libraries or code example
Share
Then you are likely looking for
strtoul(str, NULL, 16).