Message-Id: <199803061244.OAA10162@ankara.duzen.com.tr> From: "S. M. Halloran" Organization: User RFC 822- and 1123-compliant To: djgpp AT delorie DOT com Date: Fri, 6 Mar 1998 14:47:23 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: What does "srand" and "srandom" do? In-reply-to: <34FFC3E3.8465FB75@mail.hitel.net> Precedence: bulk On 6 Mar 98 Ahn Ki-yung was found to have commented thusly: > I wonder what does these libc functions do ? > In the libc reference info file there are 3 random functions. > They are rand, random, srandom. > The function "rand(unsigned int)" is not found but there is a prototype > in "stdlib.h" > If you have access to the web (hopefully you do), go to www.delorie.com and look for something that points you to searching the "Mail Archives". This subject must have been brought up 2-3 times in the last couple of months, and I rather think qualifies it as a FAQ. It almost certainly a FAQ in the comp.lang.c newsgroup, as I recall, and this is really a better place for this question, where you will undoubtedly find the most authoritative answer. Mitch Halloran Research (Bio)chemist Duzen Laboratories Group Ankara TURKEY mitch AT duzen DOT com DOT tr other job title: Sequoia's (dob 12-20-95) daddy