[PATCH] epiphany/machine/stdlib.h: Disable epiphany unique random wrappers for RTEMS

Yaakov Selkowitz yselkowitz@cygwin.com
Sun Mar 20 19:55:00 GMT 2016


On 2016-03-20 11:02, Joel Sherrill wrote:
> ---
>   newlib/libc/machine/epiphany/machine/stdlib.h | 2 ++
>   1 file changed, 2 insertions(+)

Linux rand(3) states: "The versions of rand() and srand() in the Linux C 
Library use the same random number generator as random(3) and 
srandom(3)".  Does it make any sense to generalize this code for all 
targets instead (letting Cygwin replace it with its own, as before)?

BTW, does RTEMS not have its own <machine/stdlib.h>?

-- 
Yaakov



More information about the Newlib mailing list