delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/12/07:07:48

Date: Wed, 12 Nov 1997 14:06:50 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Nate Eldredge <eldredge AT ap DOT net>
cc: Ove Kaaven <ovek AT arcticnet DOT no>, djgpp AT delorie DOT com
Subject: Re: rand() or random()
In-Reply-To: <199711112016.MAA18267@adit.ap.net>
Message-ID: <Pine.SUN.3.91.971112140624.20379G-100000@is>
MIME-Version: 1.0

On Tue, 11 Nov 1997, Nate Eldredge wrote:

> Okay, how about this:
> 
> int _random(void)
> { /* code from BSD random() */ }
> 
> int random(void) { return _random(); }

I'm not lawyer enough to tell whether the BSD copyright on the 
original `random' allows to change its name to `_random'.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019