This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Reentrant question
On 2018-05-11 05:09, Trampas Stern wrote:
> I am using newlib on embedded ARM processors, and my google skills are
> failing me as to figuring out what I need to do enable newlib libraries
> like snprintf() to be reentrant?
man snprintf - use _snprintf_r(struct _reent *ptr, ... - defined in
/usr/include/sys/reent.h and included by /usr/include/stdio.h
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada