From: Van Mo Dang Newsgroups: comp.os.msdos.djgpp Subject: Re: random numbers? Date: Wed, 21 Jan 1998 15:39:42 +0100 Organization: Université de Technologie de Compiègne Lines: 18 Message-ID: <34C608AE.2569@utc.fr> References: <34c2863d DOT 422495 AT news DOT ziplink DOT net> <69u8tn$n1o$1 AT news DOT ox DOT ac DOT uk> NNTP-Posting-Host: asterix.hds.utc.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: mdang AT delorie DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I would have two questions about random() and srandom() : 1 - Are those routines portables ? I found them both in DJGPP and on Solaris systems, but can they be considered to be available in any C standard library ? 2 - Which file should be included to know their prototypes ? On Solaris, it seems that neither nor contain any prototype of random() and srandom(). Actually none of the ".h" files in /usr/include contains their declaration. Thank you for your help, Mo Van DANG van DOT mo DOT dang AT utc DOT fr