This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

StrStr

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

Parents
  • Take a look to the TRAFFIC example. The module SERIAL.C implements a putchar routine used by printf. The RTX51-Tiny performs a task switch in the middle of the printf statement.

    As it can be seen easily, there is no need to modify anything in the printf source code.
    printf is really complex and is bug free since years. I highly recommend not to touch such parts of the run-time library.

    Reinhard

Reply
  • Take a look to the TRAFFIC example. The module SERIAL.C implements a putchar routine used by printf. The RTX51-Tiny performs a task switch in the middle of the printf statement.

    As it can be seen easily, there is no need to modify anything in the printf source code.
    printf is really complex and is bug free since years. I highly recommend not to touch such parts of the run-time library.

    Reinhard

Children
No data