I am using wm_memset, wm_memcpy, etc in stead of memset and memcpy. I am however running into problems when I need libc functions that is not exposed via the api.
I am using <stddef.h> and <string.h> to expose these the libc functions and macros I need. (E.g. memmove and offsetof.)
Any specific reason(s) why I must not use libc functions directly? (Maybe compiler related ARM?) If not, any plan to expose the rest of the libc functions for us?
If you take a look at wm_stdio.h in “WmHeader” folder (or even in “<project_folder>\gcc\out” where it is copied during compilation) you can see that even the “exposed” as you call them build in functions are just re-definitions of the original ones. If the function you need is not device dependent (e.g. clrscr) I suppose you can go ahead and use it…