Deleted Added
full compact
rand.3 (79754) rand.3 (81285)
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

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

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)rand.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

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

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)rand.3 8.1 (Berkeley) 6/4/93
37.\" $FreeBSD: head/lib/libc/stdlib/rand.3 79754 2001-07-15 07:53:42Z dd $
37.\" $FreeBSD: head/lib/libc/stdlib/rand.3 81285 2001-08-08 11:48:28Z ru $
38.\"
39.Dd May 25, 1999
40.Dt RAND 3
41.Os
42.Sh NAME
43.Nm rand ,
44.Nm srand ,
45.Nm sranddev ,

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

54.Ft void
55.Fn sranddev void
56.Ft int
57.Fn rand void
58.Ft int
59.Fn rand_r "unsigned *ctx"
60.Sh DESCRIPTION
61.Bf -symbolic
38.\"
39.Dd May 25, 1999
40.Dt RAND 3
41.Os
42.Sh NAME
43.Nm rand ,
44.Nm srand ,
45.Nm sranddev ,

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

54.Ft void
55.Fn sranddev void
56.Ft int
57.Fn rand void
58.Ft int
59.Fn rand_r "unsigned *ctx"
60.Sh DESCRIPTION
61.Bf -symbolic
62These interfaces are obsoleted by random(3).
62These interfaces are obsoleted by
63.Xr random 3 .
63.Ef
64.Pp
65The
66.Fn rand
67function computes a sequence of pseudo-random integers in the range
68of 0 to
69.Dv RAND_MAX
70(as defined by the header file

--- 46 unchanged lines hidden ---
64.Ef
65.Pp
66The
67.Fn rand
68function computes a sequence of pseudo-random integers in the range
69of 0 to
70.Dv RAND_MAX
71(as defined by the header file

--- 46 unchanged lines hidden ---