From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Automatically seeding random numbers Date: Thu, 05 Feb 1998 07:54:50 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 18 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34D9B69A.3150FB1C@cornell.edu> References: <199802050746 DOT JAA09216 AT ankara DOT duzen DOT com DOT tr> NNTP-Posting-Host: cu-dialup-0704.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk S. M. Halloran wrote: > DIAGNOSTICS > Upon successful completion, time returns the value of time. > Otherwise, a value of (time_t)-1 is returned and errno is > set to indicate the error. you realize, of course, that time_t does not have to be a scalar type, and programs that rely on this assumption will break if the type changes. i find the current description useful in that it gives you only the information that you can safely rely on. and leads you to check the standards to see exactly you can rely on. the version you proposed makes without any warnings, a lot of extra statements about validity of certain assumptions that are not guaranteed. -- Sinan