[riot-devel] char* to int and vice versa

Simon Brummer brummer.simon at googlemail.com
Mon Sep 5 18:10:18 CEST 2016

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" <
adeel.mohammad.malik at ericsson.com>:


A quick question, what functions should I use to convert between a char *
and int in RIOT?


devel mailing list
devel at riot-os.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160905/b1a18bb1/attachment.html>

More information about the devel mailing list