Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/include



On Sat, Mar 01, 2008 at 02:05:26PM -0500, David Holland wrote:
> On Thu, Feb 28, 2008 at 04:13:35PM +0000, Christos Zoulas wrote:
>  > Modified Files:
>  >    src/include: stdlib.h
>  > 
>  > Log Message:
>  > add RANDOM_MAX define from anon ymous
> 
> If we're going to do this (and I think it's a fine idea) can we take
> some steps to try to get other OSes to also provide this #define?
> 
> random() has been around for a long time and has a more or less
> standard interface.

Since the man page defines the range as 0 to 2^32-1 is a named
constant needed ?
Oh - I presume the limit doesn't change on LP64

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index