This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reentrant question


Thanks!

That is what I was looking for.

Trampas

On Fri, May 11, 2018 at 8:47 AM, Brian Inglis <
Brian.Inglis@systematicsw.ab.ca> wrote:

> 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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]