Clarify wording describing range of values returned by rand().

This commit is contained in:
Michael Kerrisk 2008-04-28 20:24:52 +00:00
parent 49d3590362
commit 7155eb96b8
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
.\" with contribution from Francesco Potorti <F.Potorti@cnuce.cnr.it>
.\" Modified 2003-11-15, aeb, added rand_r
.\"
.TH RAND 3 2008-03-07 "" "Linux Programmer's Manual"
.TH RAND 3 2008-04-28 "" "Linux Programmer's Manual"
.SH NAME
rand, rand_r, srand \- pseudo-random number generator
.SH SYNOPSIS
@ -59,8 +59,8 @@ _POSIX_C_SOURCE || _XOPEN_SOURCE
.SH DESCRIPTION
The
.BR rand ()
function returns a pseudo-random integer between 0
and \fBRAND_MAX\fR.
function returns a pseudo-random integer in
the range [0,\ \fBRAND_MAX\fR].
.PP
The
.BR srand ()