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

How to access the stdio library?

Hi,

I'm using the STM32F103ZE uC with Keil uVision4 IDE and I need some functions like 'memset()' residing in some 'stdio.lib' library.

Now I don't find the stdio.lib file anywhere in the C:\Keil directory.

What do I need to know or what do I need to do to access the memset() function?

best regards,

Henk

Parents
  • Hi,

    let me answer myself (after having studied it).

    The Keil RealView compiler has it's own set of standard libraries residing in directory "C:\Keil\ARM\RV31".

    To use the library 'memset' function just include the corresponding header file by:
    #include <string.h>

    I was mistaken as 'memset' is not part of the 'stdio' library but part of the 'string' library.

    Thanks for listening.

    Henk

Reply
  • Hi,

    let me answer myself (after having studied it).

    The Keil RealView compiler has it's own set of standard libraries residing in directory "C:\Keil\ARM\RV31".

    To use the library 'memset' function just include the corresponding header file by:
    #include <string.h>

    I was mistaken as 'memset' is not part of the 'stdio' library but part of the 'string' library.

    Thanks for listening.

    Henk

Children