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: supplying _foo_r functions when -DREENTRANT_SYSCALLS_PROVIDED


On Thu, Mar 27, 2008 at 12:55:28PM -0700, Patrick Mansfield wrote:

> > This would need to be documented 
> > in libc/include/reent.h as a new alternative.  
> 
> reent.h implies defining both is already OK, it has the "three ways", but
> then it says:
> 
>    Stubs of the reentrant versions of the syscalls exist in the libc/reent
>    source directory and are used if REENTRANT_SYSCALLS_PROVIDED isn't defined.
>    They use the native system calls: _open, _close, etc. if they're available
>    (MISSING_SYSCALL_NAMES is *not* defined), otherwise open, close, etc.
>    (MISSING_SYSCALL_NAMES *is* defined).  */

OK I misread the above ... I'll (try to) document having them both defined.

-- Patrick Mansfield


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