Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.bugs.4bsd Subject: Re: SunOS3.2 rand(3) manual error Message-ID: <527@auspex.UUCP> Date: 28 Nov 88 17:09:31 GMT References: <753@quintus.UUCP> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 15 >The SVID specifies 15-bit results. The BSD/SV incompatibility is >known, Actually, as I remember it's a 32V/SV incompatibility; another BSD/S5 difference that was originally an AT&T/AT&T difference.... >but it looked as though SunOS 3.2 had adopted the SV definition. Which wouldn't have been a good idea, for compatibility reasons. The real story is that the "rand" in the 4BSD environment and the "rand" in the S5 environment differ; at least in 4.0, the former is described in RAND(3C) and the latter is described in RAND(3V). This may be the case in 3.x as well; "man" has the annoying habit of choosing the 3V page rather than the 3C page if you don't give a section, so "man rand" gives the S5-environment version.