Using the vxWorks API symFind() we can get the address of a global variable knowing its name. Is there a way to know the corresponding size of a symbol?
The fact is that the searched symbol could be of any type and I need to find it at runtime. So I basically can't use the sizeof directive.