You can of course diretly use printf.
Code:
#include <acknex.h>

void main()
{
	int * int_ptr_to_mem = sys_malloc(sizeof(int));
	
	*int_ptr_to_mem = 1234; //  >> *variable = value; <<
	printf("int_ptr_to_mem = %d",*int_ptr_to_mem);
	printf("address of int_ptr_to_mem = %p",int_ptr_to_mem);
	
	ptr_remove(int_ptr_to_mem);
}


Last edited by Uhrwerk; 11/17/12 17:18. Reason: of course vs. of cause. *grrrrr*

Always learn from history, to be sure you make the same mistakes again...