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
Read-Only
Author Henk van Winkoop
Posted 1-Jun-2012 11:29 GMT
Toolset ARM
RE: How to access the stdio library?
Henk van Winkoop
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
Read-Only
Author Hans-Bernhard Broeker
Posted 1-Jun-2012 21:39 GMT
Toolset ARM
RE: How to access the stdio library?
Hans-Bernhard Broeker
I was mistaken as 'memset' is not part of the 'stdio' library
but part of the 'string' library.
You're still mistaken, because it is part of neither --- because
none of them is, actually, a library. Those are just header files.
The library whose interface these headers (among others) describe is
the Standard C Library, which is defined as part of the C programming
language itself, and thus is an integral part of every C compilation
environment.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.