Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 02:44:58 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        "Jacques A. Vidrine" <n@nectar.com>
Cc:        arch@freebsd.org, kris@obsecurity.org
Subject:   Re: rand.c patch for review (was: Re: cvs commit: ports/astro/xglobe/files patch-random)
Message-ID:  <20010226024456.A61566@nagual.pp.ru>
In-Reply-To: <20010225173445.A37510@spawn.nectar.com>; from n@nectar.com on Sun, Feb 25, 2001 at 05:34:45PM -0600
References:  <20010225191316.A56093@nagual.pp.ru> <20010225193409.A56351@nagual.pp.ru> <20010225131002.A38192@mollari.cthul.hu> <20010225132152.A39554@mollari.cthul.hu> <20010226005004.B59772@nagual.pp.ru> <20010225135429.A47615@mollari.cthul.hu> <20010226020827.A61007@nagual.pp.ru> <20010225151519.A63582@mollari.cthul.hu> <20010226022902.A61216@nagual.pp.ru> <20010225173445.A37510@spawn.nectar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 25, 2001 at 17:34:45 -0600, Jacques A. Vidrine wrote:
> On Mon, Feb 26, 2001 at 02:29:03AM +0300, Andrey A. Chernov wrote:
> > As manpage says:
> > "The rand_r() function is as proposed in the POSIX.4a Draft #6 document"
> > Does anybody knows is there new versions of this draft exists and what
> > they say?
> 
> I don't, but does this help?
> 
>   http://www.opengroup.org/onlinepubs/007908799/xsh/rand.html

It refers to POSIX Threads Extension (1003.1c-1995) for rand_r(), saying
the same.

It seems we can't separate rand() and rand_r() since it will be very
strange when rand_r() will produce different sequence than plain rand().


-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010226024456.A61566>