Hi I wonder if it is possible the get the source code for the function "strstr.c" I need to modify it to call my watchdog. /ingvar
"it seems to be dificult to abort from putchar because it is called from printf." What's the difficulty? Remember, printf on PCs etc does exactly that! You don't have a different printf for each possible output device (screen, printer, whatever) - printf just does itself and leaves it to the lower layers to sort themselves out with aborts, retries, etc, etc...
Andrew, You mean putchar must handle this issue (can't print the character). In this case it will return to its caller, printf, and the caller continues to send the remaining characters out. Correct ? In this case putchar must have a handler for the exceptions like timeouts, error flags. Correct again ? Regards Viktor