Re: a propose for a suppose far better sscanf in assembly



This is the sscanf that i use. it should be better than the C sscanf
because should check for overflow and return the position of the next
char to read.
it's shame C sscanf doesn't check overflow... it would be OK with
standards.
but i think you don't support entire "sscanf" functionality, do you? i
never used fancy features of sscanf.

What do you say about my sscanf function?
is it right? 8)
looks good. i haven't had time to test it for some funny cases,
unfortunately. could you provide compiled version which loads all types
possible, and input can be specified by caller? (eg. stdin or
something)? I would love to test it (and find some bugs ;) ), but i am
not in mood to try to compile it.

.



Relevant Pages