(( Meanwhile the original question was clarified. ))
Still I wanted to say that, in C99 there are specific types to convert a
pointer to an integer type.
Don't just cast a pointer to an int or a long. It is not portable.
On 05-09-16 18:10, Simon Brummer wrote:
Well, in c any Pointer is an integer. If you want the plain numeric
value, you can just cast the pointer to int. There is no conversion
function
Am 05.09.2016 5:58 nachm. schrieb "Adeel Mohammad Malik"
<[email protected]
<mailto:[email protected]>>:
Hi,
A quick question, what functions should I use to convert between a
char * and int in RIOT?
/Adeel
_______________________________________________
devel mailing list
[email protected] <mailto:[email protected]>
https://lists.riot-os.org/mailman/listinfo/devel
<https://lists.riot-os.org/mailman/listinfo/devel>
_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel
--
Kees Bakker
Founder
SODAQ
M. 0031617737165
www.sodaq.com
_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel