what is the difference between scanf and scanfor?
Does it matter?
If you are already using a function named scanfor(), then you should know what it does. The Keil manual tells what scanf() does. And so does Google.
So why worry about the difference between a function from the standard C library, and a function you don't even have access to?