diff options
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/rand.3 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/man3/rand.3 b/man3/rand.3 index 4587c8bfda..88f651585f 100644 --- a/man3/rand.3 +++ b/man3/rand.3 @@ -60,7 +60,9 @@ _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE The .BR rand () function returns a pseudo-random integer in -the range [0,\ \fBRAND_MAX\fR]. +the range 0 to +.BR RAND_MAX +inclusive (i.e., the mathematical range [0,\ \fBRAND_MAX\fR]). .PP The .BR srand () @@ -119,9 +121,9 @@ The .BR rand () and .BR rand_r () -functions return a value -between 0 and -.BR RAND_MAX . +functions return a value between 0 and +.BR RAND_MAX +(inclusive). The .BR srand () function returns no value. |
