testing for size of pointer

new topic     » topic index » view thread      » older message » newer message

how do you get the size of a pointer? or rather the size of the value the
pointer points to?

say I am using a function from a C library that returns a pointer, the pointer
points to a string, now when I try to peek() the pointer to get the string it
only returns the first letter in that string. How do I get the size of the string
being pointed to?

Damo
----
"simple questions deserve complicated answers"

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu