delorie.com/archives/browse.cgi | search |
From: | Van Mo Dang <van DOT mo DOT dang AT utc DOT fr> |
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 |
CC: | mdang AT delorie DOT com |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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 <stdio.h> nor <stdlib.h> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |