aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2013-11-01 12:23:51 +0100
committerOndřej Bílka <neleai@seznam.cz>2013-11-01 12:23:51 +0100
commit8c5c2600af016b00496cebdae34fddf9a59fc8b9 (patch)
treefd85ffe046a861f1ff11c7feff446e7c3fb975cf /manual
parent6cefed76543ea2f6a23bd043480c5c36b4c6b801 (diff)
downloadglibc-8c5c2600af016b00496cebdae34fddf9a59fc8b9.zip
glibc-8c5c2600af016b00496cebdae34fddf9a59fc8b9.tar.gz
glibc-8c5c2600af016b00496cebdae34fddf9a59fc8b9.tar.bz2
Fix description of random according to POSIX. Fixes bug 7003
Diffstat (limited to 'manual')
-rw-r--r--manual/math.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/math.texi b/manual/math.texi
index 193d415..57cf24f 100644
--- a/manual/math.texi
+++ b/manual/math.texi
@@ -1364,7 +1364,7 @@ The prototypes for these functions are in @file{stdlib.h}.
@comment BSD
@deftypefun {long int} random (void)
This function returns the next pseudo-random number in the sequence.
-The value returned ranges from @code{0} to @code{RAND_MAX}.
+The value returned ranges from @code{0} to @code{2147483647}.
@strong{NB:} Temporarily this function was defined to return a
@code{int32_t} value to indicate that the return value always contains