When you use strerro(errno) i understand it gives you information about the failure type of last C-lib function used.
I seem to get a "Function not implemented" error in a "switch" construct in case i get till the end of the "case"'s and not finding a match. Thar's OK for me.
I have some strange behaviour, in which, even if the match should be (and is) found, i get the same error too. This happens when i use the switch for the first time; As said the switch works OK though and does what is expected (except for the strange error message).
This happens for every valid "case", but only when the switch is used for the first time.
In fact it happens when i change (for the Gui4Cli interpreter) from window mode, to console input mode, and do send whatever (valid) command to the interpreter.
The switch i am talking about is the one that interprets the given command.
It is rather strange and i don't see how this happens, or how i could avoid it.
I would also like to know what errorstrings are defined for which standard C functions ? Where could i find this info?
Sat, 2012-08-04 10:56
#1
<errno.h> errno strerror()