aboutsummaryrefslogtreecommitdiffstats
path: root/man3/rand.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/rand.3')
-rw-r--r--man3/rand.310
1 files changed, 9 insertions, 1 deletions
diff --git a/man3/rand.3 b/man3/rand.3
index 6839a1cea7..9a11b14db9 100644
--- a/man3/rand.3
+++ b/man3/rand.3
@@ -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 2003-11-15 "" "Linux Programmer's Manual"
+.TH RAND 3 2007-07-26 "" "Linux Programmer's Manual"
.SH NAME
rand, rand_r, srand \- pseudo-random number generator
.SH SYNOPSIS
@@ -48,6 +48,14 @@ rand, rand_r, srand \- pseudo-random number generator
.sp
.BI "void srand(unsigned int " seed );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR rand_r ():
+_POSIX_C_SOURCE || _XOPEN_SOURCE
.SH DESCRIPTION
The
.BR rand ()