This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] epiphany/machine/stdlib.h: Disable epiphany unique random wrappers for RTEMS
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: newlib at sourceware dot org
- Date: Sun, 20 Mar 2016 14:54:56 -0500
- Subject: Re: [PATCH] epiphany/machine/stdlib.h: Disable epiphany unique random wrappers for RTEMS
- Authentication-results: sourceware.org; auth=none
- References: <1458489767-29245-1-git-send-email-joel at rtems dot org>
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