SunOS3.2 rand(3) manual error
Guy Harris
guy at auspex.UUCP
Tue Nov 29 03:09:31 AEST 1988
>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.
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list