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: [PATCH] epiphany/machine/stdlib.h: Disable epiphany unique random wrappers for RTEMS


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


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