Hi,
neon wrote:I would also recommend not naming your functions off of the same functions used by the c run time library. You aren't implementing the c run time library - rather, you should be implementing a separate run time component for the kernel and kernel mode drivers. Don't give functions the same name as the c run time library counterparts when its not implemented up to the actual standard.
He should be implementing a stripped down C library for use with the kernel. To distinguish from a full C library, the kernel version of the C library is by convention called libk (sortie uses this convention too). There is much less code duplication this way.
jpacanowski wrote:spacing? what's that? Could you tell me more about it? It's the first time I heard about that. I'm about to give up.
If there is a ZWSP (zero width space) somewhere, instead of a normal space, it will not be necessarily treated like a space in this case. In fact, it's not specified by the C standard as an acceptable space character and you shouldn't rely on it. Same with a NBSP (non-breaking space), which is more probable here, since "itoa(int, char*, int)" is treated as a symbol as a whole. As a last resort, you can always look it through a hex editor to determine if a strange space or whatever strange character exists there.
Hope this helps.
Regards,
glauxosdever