Deleted Added
full compact
random.3 (24153) random.3 (24390)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 175 unchanged lines hidden (view full) ---

184functions appeared in
185.Bx 4.2 .
186.Sh BUGS
187.Pp
188About 2/3 the speed of
189.Xr rand 3 .
190.Pp
191The historical implementation used to have a very weak seeding; the
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 175 unchanged lines hidden (view full) ---

184functions appeared in
185.Bx 4.2 .
186.Sh BUGS
187.Pp
188About 2/3 the speed of
189.Xr rand 3 .
190.Pp
191The historical implementation used to have a very weak seeding; the
192random sequence did not vary much with the seed. For compatibility
193reasons, this implementation has been made available until the
194next
195.Tn FreeBSD
196release via the functions
197.Fn orandom ,
198.Fn osrandom ,
199.Fn oinitstate
200and
201.Fn osetstate
202from the compatibility library,
203.Em libcompat .
192random sequence did not vary much with the seed.
204The current implementation employs a better pseudo-random number
205generator for the initial state calculation.
193The current implementation employs a better pseudo-random number
194generator for the initial state calculation.