summaryrefslogtreecommitdiff
path: root/man3/random.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/random.3')
-rw-r--r--man3/random.315
1 files changed, 14 insertions, 1 deletions
diff --git a/man3/random.3 b/man3/random.3
index bcf683fdb..d136b8eac 100644
--- a/man3/random.3
+++ b/man3/random.3
@@ -28,7 +28,7 @@
.\" Modified Sat Jul 24 18:13:39 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Sun Aug 20 21:47:07 2000, aeb
.\"
-.TH RANDOM 3 2000-08-20 "GNU" "Linux Programmer's Manual"
+.TH RANDOM 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.SH NAME
random, srandom, initstate, setstate \- random number generator
.SH SYNOPSIS
@@ -43,6 +43,19 @@ random, srandom, initstate, setstate \- random number generator
.br
.BI "char *setstate(char *" state );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR random (),
+.BR srandom (),
+.BR initstate (),
+.BR setstate ():
+_SVID_SOURCE || |_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.ad b
.SH DESCRIPTION
The
.BR random ()